aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/compat_fts.c
Commit message (Collapse)AuthorAgeFilesLines
* We always use FTS_NOCHDIR, so delete the directory changing code.Ingo Schwarze2015-03-181-166/+15
| | | | | | This not only simplifies matters, but also helps operating systems lacking dirfd(3), for example Solaris 10. Solaris dirfd issue reported by Sevan Janiyan <venture37 at geeklan dot co dot uk>.
* ignore O_CLOEXEC when the operating system doesn't provide it;Ingo Schwarze2015-02-071-1/+4
| | | | | needed for some older versions of SunOS; from jperkin@ via wiz@, both at NetBSD
* trivial sync to OpenBSD: <sys/param.h> no longer neededIngo Schwarze2015-02-071-5/+5
|
* Make this work on illumos:Ingo Schwarze2014-12-111-31/+9
| | | | | | | * define MAX() * ignore O_DIRECTORY if it isn't defined * garbage collect two unused variables Issues reported and fix tested by wiz@NetBSD.
* sync to OpenBSDIngo Schwarze2014-12-111-4/+5
|
* one forgotten #ifdef -> #if conversionIngo Schwarze2014-08-171-1/+2
|
* Improve build system and autodetection.Ingo Schwarze2014-08-161-1/+1
| | | | | | | | | * Make ./configure standalone, that's what people expect. * Let people write a ./configure.local from scratch, not edit existing files. * Autodetect wchar, sqlite3, and manpath and act accordingly. * Autodetect the need for -L/usr/local/lib and -lutil. * Get rid of config.h.p{re,ost}, let ./configure only write what's needed. * Let ./configure write a Makefile.local snippet, that's quite flexible.
* work around lack of d_namlen and ALIGN/ALIGNBYTES on LinuxIngo Schwarze2014-08-111-15/+16
|
* Provide a fallback version of fts(3) for systems lacking it.Ingo Schwarze2014-08-111-0/+824
I chose the OpenBSD version because it apparently contains various bugfixes that never made it into libnbcompat. To reduce size and complexity, i stripped out the features we don't need.