* stdlib/canonicalize.c (__realpath): Simplify.
This commit is contained in:
Ulrich Drepper 2004-02-26 20:38:54 +00:00
parent 266c1f50df
commit d3a4681c8d
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View 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);