The reason this happens is fairly obvious:

   zinc $ pwd
   /usr/local/lib/qt3

   zinc $ ls -l
   total 30232
   :
   lrwxr-xr-x   1 root  wheel        1 Apr  4 15:55 lib -> .
   :

i.e. lib is a symlink to the directory it is in.  The rest of the
behaviour follows from this.

As to whether there should be this symlink... Marc?

Thanks

Tom

>>> Karel Kulhavy 9-Aug-06 10:17 >>>
>
> Bug in OpenBSD 3.9?
>
> [EMAIL 
> PROTECTED]:/usr/local/lib/qt3/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib$
>  cd lib; cd ..
> [EMAIL PROTECTED]:/usr/local/lib$
>
> Shouldn't the correct answer be
> [EMAIL 
> PROTECTED]:/usr/local/lib/qt3/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib/lib$
> ?
>
> If you do cd subdir; cd .. I guess you should end up in the same
> working directory as before.

Not with a symlink like this.

> CL<

Reply via email to