bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in chdir-safer


From: Eric Blake
Subject: bug in chdir-safer
Date: Thu, 22 Dec 2005 15:03:35 +0000

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]