In article <20190124025248.b6e8bf...@cvs.netbsd.org>, Luke Mewburn <source-changes-d@NetBSD.org> wrote: >-=-=-=-=-=- > >Module Name: othersrc >Committed By: lukem >Date: Thu Jan 24 02:52:48 UTC 2019 > >Modified Files: > othersrc/libexec/tnftpd/libnetbsd: ftpfts.h fts_open.c > >Log Message: >sync to fts.c 1.49, fts.h 1.19 > >Update from NetBSD src/lib/libc/gen/fts.c 1.38 to 1.49. >Update from NetBSD src/include/fts.h 1.18 to 1.19. > >Notable changes: >- Minimize changes from upstream NetBSD methods. >- Bump fts_level from short to int to avoid a potential DoS. >- Make sure fts_statp is NULL when FTS_NOSTAT is set. >- Use [non-standard] O_CLOEXEC instead of fcntl(FD_CLOEXEC).
Non-standard, how so? http://pubs.opengroup.org/onlinepubs/9699919799/functions/open.html christos