bug-gnulib
[Top][All Lists]
Advanced

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

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


From: Paul Eggert
Subject: [bug-gnulib] Re: stat and lstat should define their replacements
Date: Fri, 27 May 2005 14:12:23 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Bruno Haible <address@hidden> writes:

> The crucial trick here is the ability to compile lstat.c so that it uses
> the original lstat function (be it #defined to lstat64 or not).

This idea looks good to me.  But:

> ! static int
> ! rpl_lstat (const char *file, struct stat *sbuf)

Surely the "static" should go?

Also, while we're on the subject of lstat, what operating systems
have the bug caught by AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK?
If they are sufficiently old, perhaps we can simply remove
the lstat module as well.  That would be nice.




reply via email to

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