Re: backupfile.c missing feature check for fpathconf

2020-12-20 Thread Adrian Ebeling
Bruno Haible wrote: Oh, I see. So, you mean native Windows. Fixed: Wonderful, thank you.

Re: backupfile.c missing feature check for fpathconf

2020-12-20 Thread Bruno Haible
Adrian Ebeling wrote: > I'm talking about systems that have *neither* pathconf() nor fpathconf(). Oh, I see. So, you mean native Windows. Fixed: 2020-12-20 Bruno Haible backupfile: Fix compilation error on native Windows (regr. 2018-10-23). Reported by Adrian Ebeling in

Re: backupfile.c missing feature check for fpathconf

2020-12-18 Thread Adrian Ebeling
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

Re: backupfile.c missing feature check for fpathconf

2020-12-18 Thread Bruno Haible
Hi Adrian, Adrian Ebeling 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 tha

backupfile.c missing feature check for fpathconf

2020-12-18 Thread Adrian Ebeling
Hi, 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. Please add a check for fpathconf(), similar to the pathconf() check in lines 44-46. Regards,