<i>OS X: filesystem FAILED link normalisation</i> status still Open with 4 other changes
by
.
D 2004-04-30T12:31:26
J icomment Logged\sIn:\sYES\s\nuser_id=1011552\n\n\s\sThe\serrno\sfor\sboth\srealpath\sfails\sis\s13,\sEACCES.\sThe\ssecond\sthing\sto\s\nnote\sis\sthat\srealpath\sdoesn't\snecessarily\spoint\sto\sthe\soffending\spath\s\nsegment\sin\sits\sreturn,\ssometimes\sit\sdoes\sand\ssometimes\sit\sdoesn't.\s\nRealpath\sdepends\son\sseveral\sunix\sfunctions\sthat\sare\saccess\ssensitive.\s\nfchdir,\schdir,\sand\sgetcwd\sare\saccess\ssensitive.\n\s\sIf\syou\sare\swilling\sto\screate\sa\spatch\sand\stry\ssomething\sa\slittle\s\ndifferent,\sI've\sgot\ssome\scode\sthat\sfixes\sthe\sfileSystem.test\sfails,\s\nnormalizes\spaths,\sconsistently\spoints\sto\sthe\slast\sgood\spath\ssegment,\s\nalways\shas\snextCheckpoint\spoint\sto\sthe\slast\sgood\sseparator,\sruns\sat\s\nminimum\s10%\sfaster\swith\sthreads\senabled\sand\sin\sthe\s20s\swith\sthreads\s\ndisabled.\sIt\ssolves\sat\sleast\s4\srealpath\sissues,\sremoves\sthe\ssecurity\s\nissue\sof\saccess(),\setc,\setc.\sAnd\sif\syou\swish\sto\skeep\sthe\stwo\srealpaths\s\nand\sthe\sslow\sway,\sI\scan\sprovide\sa\swrapper\sto\sinsert\scode\swhich\sonly\s\nreduces\sspeed\sincreases\sby\sabout\s1%.\n
J login tauvan
J mimetype text/plain
J username tauvan
K 929534ffffffffffffffffffffffffffffffffff
U tauvan
Z cf47808506f8b55cdc0d39fc7a35ae9c