[11562] in Athena Bugs

home help back first fref pref prev next nref lref last post

sun4 7.6Q: ls

daemon@ATHENA.MIT.EDU (Marc Horowitz)
Fri Dec 24 02:54:14 1993

To: bugs@MIT.EDU
Date: Fri, 24 Dec 93 02:53:59 EST
From: Marc Horowitz <marc@MIT.EDU>

System name:		deathtongue
Type and version:	SPARC/IPX 7.6Q
Display type:		cgthree

What were you trying to do?
	list my files

What's wrong:

<35> deathtongue:~> /bin/ls -CFL ~/core
/afs/athena.mit.edu/user/m/a/marc/core: No such file or directory
Exit 2

What should have happened:

<2> oliver:tcsh/dev/build> /bin/ls -CFL ~/core
/afs/athena.mit.edu/user/m/a/marc/core@

That is, it should correctly display the file as a dangling symlink,
and not returning a non-zero error.  I suspect that the solaris
version is calling stat() instead of lstat() when -L is specified.
Considering that the filename would have come from readdir(), saying
"No such file or directory" is clearly the wrong answer.

Please describe any relevant documentation references:
	[Please replace this line with your information.]

home help back first fref pref prev next nref lref last post