Subject: Re: Incorrect symlink in WRKOBJDIR
To: None <tech-pkg@netbsd.org>
From: Xavier HUMBERT <xavier@xavhome.fr.eu.org>
List: tech-pkg
Date: 09/23/2001 00:50:09
In message <Pine.GSO.4.21.0109222347420.394-100000@rfhpc8317>,
Hubert Feyrer wrote:
>What shell is that?! Sounds broken to me...
It's bash 2.0.5 from pkgsrs. csh does the same thingh.
Well, with or without the trailing slash, it behaves like this.
$ cd work.i386/fetchmail-5.9.0
$ head ../../patches -> tabbing here gives me "patches "
$ head ../../patches/patch-a -> tabbing here gives me "patches/patch-aa"
$ head ../../patches/patch-aa
head: ../../patches/patch-aa: No such file or directory
bash bug ? Oh, btw, I do _not_ traverse filesystems, if it matters
Output from ktrace :
> 2600 head CALL open(0xbfbfdb69,0,0x1b6)
> 2600 head NAMI "../../patches/patch-aa"
> 2600 head RET open -1 errno 2 No such file or directory
Weird. Seems to be in libc...
Well in fact I greatly exaggered the impact of this supposed missing
slash. All it does is to affect graphical FTP client on my development
platform (Mac OS X) -> show a file icon and don't want to CWD in it.
Not that serious :-)
Gute Nacht
--
Xavier HUMBERT - Systemes et Reseaux | labo-info@injep.fr
INJEP | humbert@injep.fr