[Bug cobol/119301] cobol FE uses get_current_dir_name unconditionally
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 18 20:04:58 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119301
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain D Sandoe <iains@gcc.gnu.org>:
https://gcc.gnu.org/g:544a9d9e49a1ff1d031cf9c85518f7c95179834a
commit r15-8276-g544a9d9e49a1ff1d031cf9c85518f7c95179834a
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Sat Mar 15 09:43:36 2025 +0000
gcc, cobol: Check for get_current_dir_name [PR119301]
This adds a configure check for get_current_dir_name and falls back
to getcwd() if it is not available on the host.
PR cobol/119301
gcc/cobol/ChangeLog:
* util.cc: Check for the availability of get_current_dir_name
snf fall back to getcwd() if it is not present on the host.
gcc/ChangeLog:
* config.in: Regenerate.
* configure: Regenerate.
* configure.ac: Add check for get_current_dir_name.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
More information about the Gcc-bugs
mailing list