[5270] in SIPB bug reports

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

Fixed lndir symlink bug

daemon@ATHENA.MIT.EDU (ghudson@MIT.EDU)
Fri Mar 31 14:10:26 1995

From: ghudson@MIT.EDU
Date: Fri, 31 Mar 95 14:06:19 -0500
To: bug-sipb@MIT.EDU


lndir had a bug where it would fail when you had symlinks to
directories.  The canonical example of this is the discuss source
tree.  I fixed the problem by changing two instances of stat() to
lstat() (so that it won't treat symlinks to directories as
directories), and it seems to work fine for the discuss source tree
now.

I would also like to change the name of lndir so that it doesn't
conflict with the X11 version of the same program (which makes links
in the current directory instead of making a new one, highly annoying
if you get the wrong program).  The name "linkdir" comes to mind.


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