summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2007-02-08 21:07:26 +0000
committerEric Andersen <andersen@codepoet.org>2007-02-08 21:07:26 +0000
commitb7b1d3a553f7ea617e4f3520419beca562c102f0 (patch)
tree3da2d24b4377840a5bf8963f0985ae52c92de39a /libc
parent5df81800828322fb7a4298a4114047540174a0f5 (diff)
revert 17821, wait for better test cases
Diffstat (limited to 'libc')
-rw-r--r--libc/stdlib/realpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/realpath.c b/libc/stdlib/realpath.c
index 779aa258e..aae8580a5 100644
--- a/libc/stdlib/realpath.c
+++ b/libc/stdlib/realpath.c
@@ -133,7 +133,7 @@ char resolved_path[];
/* 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. */