svn commit: branches/uClibc_0_9_28/libc/stdlib

andersen at uclibc.org andersen at uclibc.org
Thu Feb 8 21:08:38 UTC 2007


Author: andersen
Date: 2007-02-08 13:08:37 -0800 (Thu, 08 Feb 2007)
New Revision: 17827

Log:
revert part of 17819, wait for a better test case


Modified:
   branches/uClibc_0_9_28/libc/stdlib/realpath.c


Changeset:
Modified: branches/uClibc_0_9_28/libc/stdlib/realpath.c
===================================================================
--- branches/uClibc_0_9_28/libc/stdlib/realpath.c	2007-02-08 21:07:26 UTC (rev 17826)
+++ branches/uClibc_0_9_28/libc/stdlib/realpath.c	2007-02-08 21:08:37 UTC (rev 17827)
@@ -127,7 +127,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