I like the newly-added chdir-safer.  However, you need to
provide a dummy #define O_NOFOLLOW 0 for platforms
like cygwin which have not yet implemented this feature.

if gcc -std=gnu99 -DHAVE_CONFIG_H -DLIBDIR=\"/usr/local/lib\" -I. -I. -I..  
-I.. -I.    -g2 -Wall -MT chmod-safer.o -MD -MP -MF ".deps/chmod-safer.Tpo" -c 
-o chmod-safer.o chmod-safer.c; \
then mv -f ".deps/chmod-safer.Tpo" ".deps/chmod-safer.Po"; else rm -f 
".deps/chmod-safer.Tpo"; exit 1; fi
chmod-safer.c: In function `fchmod_new':
chmod-safer.c:68: error: `O_NOFOLLOW' undeclared (first use in this function)
chmod-safer.c:68: error: (Each undeclared identifier is reported only once
chmod-safer.c:68: error: for each function it appears in.)
chmod-safer.c: In function `chmod_safer':
chmod-safer.c:116: error: `O_NOFOLLOW' undeclared (first use in this function)
make[3]: *** [chmod-safer.o] Error 1

--
Eric Blake


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to