summaryrefslogtreecommitdiff
path: root/src/lib/libc/string
diff options
context:
space:
mode:
authormillert <>2002-01-12 16:24:35 +0000
committermillert <>2002-01-12 16:24:35 +0000
commitab193f788e40e3bc214a6c15e3bd5171dd7b163d (patch)
treed1c7be457e61521b79063c5dc7d1faa46f706a2c /src/lib/libc/string
parent561945e61a05b7541f45f80101c7c2b03f581f76 (diff)
downloadopenbsd-ab193f788e40e3bc214a6c15e3bd5171dd7b163d.tar.gz
openbsd-ab193f788e40e3bc214a6c15e3bd5171dd7b163d.tar.bz2
openbsd-ab193f788e40e3bc214a6c15e3bd5171dd7b163d.zip
If the user passes in "" as the string to resolve the lstat() will
fail anyway so check for that. Also convert "." to "" since that way we avoid the lstat() (which we don't need) and the subsequent chdir() and some dir checks.
Diffstat (limited to 'src/lib/libc/string')
0 files changed, 0 insertions, 0 deletions