[Libsysio-commit] HEAD: libsysio/src namei.c
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2005-09-15 14:51:10
|
Update of /cvsroot/libsysio/libsysio/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21780 Modified Files: namei.c Log Message: When processing a symbolic link, the intent was passed always. This was incorrect because the symlink could be an intermediate, and *not* contain the final target. Fixed. Index: namei.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/src/namei.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -w -b -B -p -r1.16 -r1.17 --- namei.c 14 Oct 2004 14:59:29 -0000 1.16 +++ namei.c 15 Sep 2005 14:50:57 -0000 1.17 @@ -262,7 +262,7 @@ _sysio_path_walk(struct pnode *parent, s (nd->nd_flags | ND_NEGOK), lpath, nd->nd_root, - nd->nd_intent); + !next.len ? nd_intent : NULL); nameidata.nd_slicnt = nd->nd_slicnt + 1; err = _sysio_path_walk(nd->nd_pno->p_parent, &nameidata); |