[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] canonicalize: add support for not resolving symlinks
From: |
Bruno Haible |
Subject: |
Re: [PATCH] canonicalize: add support for not resolving symlinks |
Date: |
Mon, 02 Jan 2012 20:41:53 +0100 |
User-agent: |
KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; ) |
Eric Blake wrote:
> I'd welcome a patch to gnulib to prove me wrong by fixing rpl_stat to be
> an object-like instead of function-like macro, all while still allowing
> compilation to succeed in all interfaces that take 'struct stat *' as a
> parameter, including when using those interfaces via function pointer.
And such a patch should not interfere with _FILE_OFFSET_BITS=64, which
triggers a "#define stat stat64" on some platforms.
I don't think it's possible to satisfy all these requirements in C.
Defining stat() as a macro with arguments was the least evil.
Bruno
- Re: [PATCH] canonicalize: add support for not resolving symlinks,
Bruno Haible <=