Re: [bug-gnulib] stat and lstat should define their replacements

2005-05-27 Thread Derek Price
Paul Eggert wrote: >Derek Price <[EMAIL PROTECTED]> writes: > > > >>+/* Get the system versions when something else was defined by config.h. */ >>+#undef lstat >>+#undef stat >> >> > >A big worry here is hosts that use something like "#define stat >stat64" when compiled in large-file mode.

Re: [bug-gnulib] Re: [bug-gnulib] stat and lstat should define their replacements

2005-05-25 Thread Derek Price
Bruno Haible wrote: >Derek Price <[EMAIL PROTECTED]> writes: > > >>As near as I can tell, stat and lstat do not define names for their >>replacements as many of the other GNULIB modules do. >> >> > >Yes. The 'stat' and 'lstat' modules look incomplete. I think this should >be added to make th

Re: [bug-gnulib] Re: [bug-gnulib] stat and lstat should define their replacements

2005-05-25 Thread Bruno Haible
Derek Price <[EMAIL PROTECTED]> writes: > As near as I can tell, stat and lstat do not define names for their > replacements as many of the other GNULIB modules do. Yes. The 'stat' and 'lstat' modules look incomplete. I think this should be added to make them usable out-of-the-box. diff -c -3 -r1

Re: [bug-gnulib] stat and lstat should define their replacements

2005-05-25 Thread Paul Eggert
Derek Price <[EMAIL PROTECTED]> writes: > +/* Get the system versions when something else was defined by config.h. */ > +#undef lstat > +#undef stat A big worry here is hosts that use something like "#define stat stat64" when compiled in large-file mode. On such hosts, you can't #undef 'stat' a

[bug-gnulib] stat and lstat should define their replacements

2005-05-24 Thread Derek Price
Hey all, As near as I can tell, stat and lstat do not define names for their replacements as many of the other GNULIB modules do. CVS has the following defined in a header: /* Use the function from lib/stat.c when the system version is broken. */ # ifdef HAVE_STAT_EMPTY_STRING_BUG # define CV