Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 26 Feb 2004 20:38:54 +0000 (20:38 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 26 Feb 2004 20:38:54 +0000 (20:38 +0000)
* stdlib/canonicalize.c (__realpath): Simplify.

ChangeLog
stdlib/canonicalize.c

index 5221f5f..4fe5c85 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2004-02-26  Ulrich Drepper  <drepper@redhat.com>
 
+       * stdlib/canonicalize.c (__realpath): Simplify.
+
        * posix/regcomp.c (parse_expression): Avoid duplication in calls
        to build_charclass_op.
 
index 0947c67..8388316 100644 (file)
@@ -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);