Add support for yorn(), safe yes-or-no prompt

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2019-05-29 15:57:11 +02:00
1 parent 7f053f7624
commit b2c2d032e8
7 files changed
+136 -2

No files matched your search

+3 -2
View File
@@ -14,7 +14,7 @@ libite_la_SOURCES = chomp.c copyfile.c \
reallocarray.c rsync.c \
strlcpy.c strlcat.c strtonum.c \
strdupa.h strndupa.h strnlen.h \
strmatch.c \
strmatch.c yorn.c \
tempfile.c which.c \
lite.h strlite.h \
queue.h tree.h
@@ -22,4 +22,5 @@ libite_la_SOURCES = chomp.c copyfile.c \
## Distribute these header files in the <lite/...> name space
pkgincludedir = $(includedir)/lite
pkginclude_HEADERS = lite.h queue.h conio.h tree.h strlite.h strdupa.h strndupa.h strnlen.h
pkginclude_HEADERS = lite.h queue.h conio.h tree.h strlite.h strdupa.h \
strndupa.h strnlen.h