posix me harder
Mike Gerdts
Michael.Gerdts at alcatel.com
Thu Mar 14 08:44:24 GMT 2002
On Thu, 2002-03-14 at 08:11, David Collier-Brown wrote:
> Fixed, in Solaris 8, but broken in
> at least 2.6 and possibly 7.
Not fixed in Solaris 8:
$ ps -fp $$
UID PID PPID C STIME TTY TIME CMD
mgerdts 7104 12228 0 11:34:30 pts/1 0:00 /bin/sh
$ what /bin/sh
/bin/sh:
SunOS 5.8 Generic 109324-04 October 2001
$ ls -l foo
lrwxrwxrwx 1 mgerdts cns 8 Mar 14 11:34 foo -> /nowhere
$ ls -l /nowhere
/nowhere: No such file or directory
$ if [ -L foo ] ; then echo "foo is a symlink" ;fi
test: argument expected
$ if test -L foo ; then echo "foo is a symlink" ; fi
test: argument expected
$
Just a while ago I mentioned that this was broken with rev 02 of the
same patch. According to Sunsolve, rev 04 is the latest.
Mike
More information about the samba-technical
mailing list