svn commit: trunk/uClibc/libc/stdlib

andersen at uclibc.org andersen at uclibc.org
Thu Feb 8 21:07:26 UTC 2007


Author: andersen
Date: 2007-02-08 13:07:26 -0800 (Thu, 08 Feb 2007)
New Revision: 17826

Log:
revert 17821, wait for better test cases


Modified:
   trunk/uClibc/libc/stdlib/realpath.c


Changeset:
Modified: trunk/uClibc/libc/stdlib/realpath.c
===================================================================
--- trunk/uClibc/libc/stdlib/realpath.c	2007-02-08 21:02:26 UTC (rev 17825)
+++ trunk/uClibc/libc/stdlib/realpath.c	2007-02-08 21:07:26 UTC (rev 17826)
@@ -133,7 +133,7 @@
 				/* Make sure it's null terminated. */
 				*new_path = '\0';
 				strcpy(resolved_path, got_path);
-				return resolved_path;
+				return NULL;
 			}
 		} else {
 			/* Note: readlink doesn't add the null byte. */




More information about the uClibc-cvs mailing list