From 97cab1d39bc0c4c1ccf92b5f53e79982a028180b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 10 Apr 2003 17:03:30 +0000 Subject: *** empty log message *** --- lib/ChangeLog | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'lib') 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 - * 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 -- cgit v1.2.3-70-g09d2