Regression in spawni.c on native Windows

2020-12-21 Thread Adrian Ebeling
Hi, in commit 29d55bf8 (Mon Dec 14 2020), const qualifiers were added in spawn_int.h: extern int __spawni (pid_t *pid, const char *path, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t *attrp, const char *const argv[],    

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-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

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,