mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
Update.
* stdlib/canonicalize.c (__realpath): Simplify.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user