bug-gnulib
[Top][All Lists]
Advanced

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

Re: backupfile.c missing feature check for fpathconf


From: Adrian Ebeling
Subject: Re: backupfile.c missing feature check for fpathconf
Date: Fri, 18 Dec 2020 18:03:47 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0


On 18.12.20 17:48, Bruno Haible wrote:
lib/backupfile.c contains a feature check for pathconf()
(HAVE_PATHCONF), but later on fpathconf() is used without a check.
Therefore, the file can't be compiled on systems that don't have pathconf.
On which system is this? In our experience, the systems that have pathconf
also have fpathconf and vice versa. [1][2]

Sorry if I wasn't clear enough.

I'm talking about systems that have *neither* pathconf() nor fpathconf().

There's a feature guard for pathconf(), and I'm suggesting to use that
feature guard also for fpathconf() (which currently doesn't have a
feature guard at all).

Adrian




reply via email to

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