diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2014-05-22 06:51:25 +0300 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2014-05-22 06:51:25 +0300 |
commit | 4269f19c09163d6ef65043171eeccc9c521d9b5f (patch) | |
tree | b97492f2a8d9b9b3d41f020dde39ac89bad83229 /libgfortran/ChangeLog | |
parent | d5c67efda0d5e2d42abd49c0d58bb39a038d20ec (diff) | |
download | gcc-4269f19c09163d6ef65043171eeccc9c521d9b5f.zip gcc-4269f19c09163d6ef65043171eeccc9c521d9b5f.tar.gz gcc-4269f19c09163d6ef65043171eeccc9c521d9b5f.tar.bz2 |
PR 60324 Handle long path names, don't use PATH_MAX.
From-SVN: r210738
Diffstat (limited to 'libgfortran/ChangeLog')
-rw-r--r-- | libgfortran/ChangeLog | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 94789e8..9f5a39b 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,35 @@ +2014-05-22 Janne Blomqvist <jb@gcc.gnu.org> + + PR libfortran/60324 + * config.h.in: Regenerated. + * configure: Regenerated. + * configure.ac (AC_CHECK_FUNCS_ONCE): Check for strnlen and + strndup. + * libgfortran.h (fc_strdup): New prototype. + * runtime/string.c (strnlen): New fallback function. + (strndup): New fallback function. + (fc_strdup): New function. + * io/close.c (st_close): Use fc_strdup. + * io/open.c (new_unit): Likewise. + (already_open): Likewise. + * io/unit.c (filename_from_unit): Likewise. + * io/unix.c (unpack_filename): Remove function. + (regular_file): Rename to regular_file2, add path argument. + (regular_file): New function calling regular_file2. + (compare_file_filename): Use fc_strdup. + (find_file): Likewise. + (delete_file): Likewise. + (file_exists): Likewise. + (file_size): Likewise. + (inquire_sequential): Likewise. + (inquire_direct): Likewise. + (inquire_formatted): Likewise. + (inquire_access): Likewise. + * io/unix.h (unpack_filename): Remove prototype. + * runtime/main.c (please_free_exe_path_when_done): Change type to + bool. + (store_exe_path): Use malloced buffer, grow as needed. + 2014-05-17 Jerry DeLisle <jvdelisle@gcc.gnu> PR libfortran/52539 |