From: Nikodemus S. <nik...@ra...> - 2008-02-18 22:34:21
|
On 2/19/08, Nikodemus Siivola <nik...@ra...> wrote: > FWIW, I think ELOOP is clear FILE-ERROR: it might be that the bit that > loops is symlink whose pathname were are probing -- so we cannot tell, > just like with EACCESS. Brainfart there, sorry, Obviously we _could_ tell, and might there even return the name of the symlink (like we do with broken symlinks) -- but I'm not at all sure what the reasonable thing there is. FILE-ERROR seems like a conservative response, though I can imagine users who would want the name of the link itself, > ...but I'm not claiming anything re other errno situations -- just > thinking about ENOTDIR right now. This still stands. :) Cheers, -- Nikodemus |