[Libsysio-commit] HEAD: libsysio/misc fhi.c
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2009-07-28 17:00:16
|
Update of /cvsroot/libsysio/libsysio/misc In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv16096 Modified Files: fhi.c Log Message: fhi_unlink would unlink file that a symbolic link pointed to. Oops. Found and fixed by Jason Cope <co...@mc...>. Index: fhi.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/misc/fhi.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -b -B -p -r1.2 -r1.3 --- fhi.c 25 Feb 2009 06:01:23 -0000 1.2 +++ fhi.c 28 Jul 2009 17:00:04 -0000 1.3 @@ -792,7 +792,7 @@ SYSIO_INTERFACE_NAME(fhi_unlink)(struct err = fhi_namei(where->fhida_dir, where->fhida_path, - 0, + ND_NOFOLLOW, &intent, &pno); if (err) |