about summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-02-26 20:38:54 +0000
committerUlrich Drepper <drepper@redhat.com>2004-02-26 20:38:54 +0000
commitd3a4681c8d690cc0f5d0fc759f52264f80051989 (patch)
tree832de7db08f88978c8b14cf9b3c3e9569789e3e5 /stdlib
parent266c1f50df28885289fdd5a8a2dddb6c65efc125 (diff)
downloadglibc-d3a4681c8d690cc0f5d0fc759f52264f80051989.tar.gz
glibc-d3a4681c8d690cc0f5d0fc759f52264f80051989.tar.xz
glibc-d3a4681c8d690cc0f5d0fc759f52264f80051989.zip
Update.
	* stdlib/canonicalize.c (__realpath): Simplify.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/canonicalize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/canonicalize.c b/stdlib/canonicalize.c
index 0947c67dd2..8388316df3 100644
--- a/stdlib/canonicalize.c
+++ b/stdlib/canonicalize.c
@@ -206,7 +206,7 @@ __realpath (const char *name, char *resolved)
   *dest = '\0';
 
   assert (resolved == NULL || resolved == rpath);
-  return resolved ?: rpath;
+  return rpath;
 
 error:
   assert (resolved == NULL || resolved == rpath);