summaryrefslogtreecommitdiffstats
path: root/ftw.c
Commit message (Collapse)AuthorAgeFilesLines
* Adding -D_GNU_SOURCE to compiler command line.Kaz Kylheku2016-05-011-3/+0
| | | | | | * configure (lang_flags): -D_GNU_SOURCE added. * ftw.c (__USE_GNU): Macro definition removed.
* Support list of paths in ftw.Kaz Kylheku2016-04-221-0/+12
| | | | | | | * ftw.c (ftw_wrap): Handle case when dirpath is a list, by recursion. * txr.1: Documented.
* ftw.c affected by g++/glibc issue __USE_GNU is defined.Kaz Kylheku2016-04-201-0/+2
| | | | | | | | | When compiling as C++, __USE_GNU is defined even though we use -ansi and don't specify -D_GNU_SOURCE anywhere. Glibc headers don't seem to respond to the C++ ANSI options. ftw.c: Workaround for compiler warning: only define __USE_GNU if it is not defined already.
* Adding ftw function.Kaz Kylheku2016-04-151-0/+177
* Makefile (ftw.o): Add to OBJS-y conditionally. * configure (have_ftw): New variable. New configure test for nftw. (gen_config_make): Set up have_ftw make variable. * ftw.c, ftw.h: New files. * lib.c (init): Call ftw_init, if compiled in. * txr.1: Documented.