Update.
* stdlib/canonicalize.c (__realpath): Simplify.
This commit is contained in:
parent
266c1f50df
commit
d3a4681c8d
@ -1,5 +1,7 @@
|
|||||||
2004-02-26 Ulrich Drepper <drepper@redhat.com>
|
2004-02-26 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* stdlib/canonicalize.c (__realpath): Simplify.
|
||||||
|
|
||||||
* posix/regcomp.c (parse_expression): Avoid duplication in calls
|
* posix/regcomp.c (parse_expression): Avoid duplication in calls
|
||||||
to build_charclass_op.
|
to build_charclass_op.
|
||||||
|
|
||||||
|
@ -206,7 +206,7 @@ __realpath (const char *name, char *resolved)
|
|||||||
*dest = '\0';
|
*dest = '\0';
|
||||||
|
|
||||||
assert (resolved == NULL || resolved == rpath);
|
assert (resolved == NULL || resolved == rpath);
|
||||||
return resolved ?: rpath;
|
return rpath;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
assert (resolved == NULL || resolved == rpath);
|
assert (resolved == NULL || resolved == rpath);
|
||||||
|
Loading…
Reference in New Issue
Block a user