|
From: creedon <icr...@us...> - 2005-01-24 17:16:56
|
Update of /cvsroot/frontierkernel/Frontier/Common/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19246 Modified Files: fileloop.c Log Message: Mac OS X workaround for fileloop bug when trying to access folders for which the user doesn't have permissions < http://sourceforge.net/tracker/index.php?func=detail&aid=1096641&group_id=120666&atid=687798 > Index: fileloop.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/fileloop.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** fileloop.c 11 Jan 2005 22:48:05 -0000 1.4 --- fileloop.c 24 Jan 2005 17:16:47 -0000 1.5 *************** *** 270,274 **** if (errcode == dirNFErr) /*On OS X, this is what's returned for a read permission error. Weird.*/ return (true); ! #endif --- 270,277 ---- if (errcode == dirNFErr) /*On OS X, this is what's returned for a read permission error. Weird.*/ return (true); ! ! if (errcode == afpAccessDenied) /* 2005-01-05 creedon - don't bail when user does not have the correct permissions < http://sourceforge.net/tracker/index.php?func=detail&aid=1096641&group_id=120666&atid=687798 > */ ! return (true); ! #endif |