diff options
author | Jim Meyering <jim@meyering.net> | 2003-04-10 17:03:30 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-04-10 17:03:30 +0000 |
commit | 97cab1d39bc0c4c1ccf92b5f53e79982a028180b (patch) | |
tree | 9d4070e9b05c11057d4443babe6193c642af4320 | |
parent | 31c3844239e6d47bd96e403ebda2d0e22d781adc (diff) | |
download | coreutils-97cab1d39bc0c4c1ccf92b5f53e79982a028180b.tar.xz |
*** empty log message ***
-rw-r--r-- | lib/ChangeLog | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index 2d7042ea1..e8975824c 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,8 +1,13 @@ 2003-04-10 Jim Meyering <jim@meyering.net> - * canonicalize.c (canonicalize_file_name): Remove stray semicolon - that caused `readlink --canonical RELATIVE_NAME' to fail on e.g., - Solaris systems. Reported by Bruce Korb. + * canonicalize.c (canonicalize_file_name) [HAVE_RESOLVEPATH]: Remove + stray semicolon that caused `readlink --canonical RELATIVE_NAME' to + fail on e.g., Solaris systems. Reported by Bruce Korb. + (canonicalize_file_name): Return NULL immediately if resolvepath fails. + Otherwise, `readlink --canonical /no-such-file' would exhaust + virtual memory on some systems (e.g. Solaris). + (canonicalize_file_name): Always free `extra_buf' before returning. + (canonicalize_file_name): NUL-terminate the result. 2003-04-05 Jim Meyering <jim@meyering.net> |