0e3e87bd43
converting the stat() call to a lstat() call, which will cover the situation. One can exercise this bug by referring a dangling link with something like */the-link. Approved by: re (scottl) Submitted by: Simon 'corecode' Schubert [corecode fs ei tum de] Obtained from: NetBSD via DragonFlyBSD (NetBSD rev. 1.51 and DragonFly rev. 1.6) MFC After: 3 days |
||
---|---|---|
.. | ||
bltin | ||
funcs | ||
alias.c | ||
alias.h | ||
arith_lex.l | ||
arith.h | ||
arith.y | ||
builtins.def | ||
cd.c | ||
cd.h | ||
error.c | ||
error.h | ||
eval.c | ||
eval.h | ||
exec.c | ||
exec.h | ||
expand.c | ||
expand.h | ||
histedit.c | ||
init.h | ||
input.c | ||
input.h | ||
jobs.c | ||
jobs.h | ||
mail.c | ||
mail.h | ||
main.c | ||
main.h | ||
Makefile | ||
memalloc.c | ||
memalloc.h | ||
miscbltin.c | ||
mkbuiltins | ||
mkinit.c | ||
mknodes.c | ||
mksyntax.c | ||
mktokens | ||
myhistedit.h | ||
mystring.c | ||
mystring.h | ||
nodes.c.pat | ||
nodetypes | ||
options.c | ||
options.h | ||
output.c | ||
output.h | ||
parser.c | ||
parser.h | ||
redir.c | ||
redir.h | ||
sh.1 | ||
shell.h | ||
show.c | ||
show.h | ||
TOUR | ||
trap.c | ||
trap.h | ||
var.c | ||
var.h |