]> sourceware.org Git - glibc.git/commitdiff
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 5221f5f3c48d17154182b04c82b11cce7b20603b..4fe5c858e9c1f4c38b2652cae7e2984a8dd4b0c2 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 0947c67dd20cbafa2af73b39394e58cea60ce8d8..8388316df3fbe96d70116e0ed15f655a78154e3c 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);
This page took 0.052559 seconds and 5 git commands to generate.