bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] canonicalize: add support for not resolving symlinks


From: Paul Eggert
Subject: Re: [PATCH] canonicalize: add support for not resolving symlinks
Date: Fri, 30 Dec 2011 08:10:16 -0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0

On 12/30/11 05:49, Eric Blake wrote:
> the gnulib replacement for stat on some platforms has to be a function-like
> macro (no thanks to 'struct stat')

Why does the gnulib replacement do that?
If gnulib instead did "#define stat rpl_stat",
that would rename 'struct stat' to 'struct rpl_stat',
but the resulting code would work fine, no?
And we wouldn't have the problem that sparked this thread.



reply via email to

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