diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-01-12 16:24:36 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-01-12 16:24:36 +0000 |
commit | cfb466e6e051e781dcdf30bee5f7595c5c56671b (patch) | |
tree | 3e22a885ba302cbd5b35a753af7721965131fdd5 /lib/libc/stdio/scanf.c | |
parent | aa5cd638aa2cad443a06ed76a605ed98e2ebce98 (diff) |
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 'lib/libc/stdio/scanf.c')
0 files changed, 0 insertions, 0 deletions