bug-gnulib
[Top][All Lists]
Advanced

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

Re: gnulib/lib/lstat.c on DJGPP v2.04


From: Eric Blake
Subject: Re: gnulib/lib/lstat.c on DJGPP v2.04
Date: Fri, 25 Feb 2011 16:52:24 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 02/25/2011 04:12 PM, Paul Eggert wrote:
>> That might be so now, but a month or a year from now, someone will
>> decide that gnulib's `lstat' needs to fix some other anomaly, which
>> will cause DJGPP builds of some package out there to use this code.
> 
> Anyone who decides that should of course revisit this issue,
> and it'll be their responsibility to make sure the anomaly
> is handled correctly.  This may use ISSLASH and may not; it's
> hard to anticipate and any guesses we make about this now are
> likely to be wrong.

Also, anyone that changes lstat had better also change test-lstat as
part of the gnulib testsuite, which, if run on DJGPP, would quickly
point out if we had introduced a regression.

That said, I doubt that we'll do much to lstat any time soon; we've
pretty much covered all the non-POSIX compatibility issues observed in
the wild already.  Rather, I think our next stat-related project in the
coming year will be providing a working xstat() replacement for
platforms, built on top of [fl]stat[at] where the native kernel support
is lacking, and taking advantage of the possible speedups where the new
kernel interface lets you avoid wasting time on collecting stat
information that the program will just discard.  Now if only the Linux
kernel developers would finalize the xstat() interface...

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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