From: didier g. <di...@us...> - 2010-02-28 22:29:24
|
Update of /cvsroot/netatalk/netatalk/include/atalk In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv5300/include/atalk Modified Files: util.h Log Message: previous commit 'lchdir: use chdir + getcwd' was only testing for symlink outside the volume's root directory, hopefully this one is correct Index: util.h =================================================================== RCS file: /cvsroot/netatalk/netatalk/include/atalk/util.h,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** util.h 28 Feb 2010 17:02:49 -0000 1.20 --- util.h 28 Feb 2010 22:29:16 -0000 1.21 *************** *** 23,27 **** #include <netatalk/at.h> #include <atalk/unicode.h> - #include <atalk/volume.h> /* exit error codes */ --- 23,26 ---- *************** *** 123,127 **** extern const char *getcwdpath(void); ! extern int lchdir(struct vol *vol, const char *dir); #endif /* _ATALK_UTIL_H */ --- 122,126 ---- extern const char *getcwdpath(void); ! extern int lchdir(const char *dir); #endif /* _ATALK_UTIL_H */ |