Fix shell expansion to cover dangling symlinks as well.
authorSimon Schubert <corecode@dragonflybsd.org>
Sun, 3 Jul 2005 14:03:24 +0000 (14:03 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Sun, 3 Jul 2005 14:03:24 +0000 (14:03 +0000)
commit85ef70cf13c7b8eaace0452a99c8d23f51a60cea
tree9c57308fc5bc858ed4f9a905da5bad1955aaad49
parent03eef8e3fb4f518588c4a10ca29c39bbaac19b11
Fix shell expansion to cover dangling symlinks as well.

It seems FreeBSD still suffers from the same bug, whereas NetBSD
fixed this over 4 years ago. Besides, they have lots of fixes and
improvements we should use.

Noticed-by: swildner
bin/sh/expand.c