]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(canonicalize_file_name): Return NULL immediately if resolvepath fails.
authorJim Meyering <jim@meyering.net>
Thu, 10 Apr 2003 16:47:35 +0000 (16:47 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 10 Apr 2003 16:47:35 +0000 (16:47 +0000)
commitef6c0046482844db49d7b2e0729f6c98f37efae4
tree8be3bbc2868ec7869d60a004b2fe55ef2ac19ec0
parent6a5f07163fb79b77e8d8ef636fbf6fd714811691
(canonicalize_file_name): Return NULL immediately if resolvepath fails.
Otherwise, `readlink --canonical /no-such-file' would exhaust
virtual memory on some systems (e.g. Solaris).
lib/canonicalize.c