ENOTDIR translation is funny

Martin Pool mbp at sourcefrog.net
Fri Jan 20 08:55:37 GMT 2006


On 20 Jan 2006, Robert Collins <robertc at robertcollins.net> wrote:
> Why do we translate ENOTDIR to NoSuchFile?
> 
> a rmdir of a file triggers ENOTDIR, but its definately not the case that
> that is NoSuchFile.

Maybe opening /non/existent gives ENOTDIR on some systems?  It doesn't
on Linux but I remember seeing it somewhere.  Just a guess.

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060120/672376b5/attachment.pgp 


More information about the bazaar mailing list