bug-coreutils
[Top][All Lists]
Advanced

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

Re: bug in chdir-safer


From: Jim Meyering
Subject: Re: bug in chdir-safer
Date: Thu, 22 Dec 2005 17:27:58 +0100

address@hidden (Eric Blake) wrote:
> 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)

Thanks.  Will do.




reply via email to

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