tags 467552 fixed-upstream
thanks
Martin Pitt wrote:
> Package: manpages-dev
> Version: 2.77-1
>
> Current rmdir(2) manpage only lists
>
> ENOTEMPTY
> pathname contains entries other than . and .. ; or, pathname has ..
> as its final component.
>
> However, according to the SuSv2 spec [1], rmdir can return either
> ENOTEMPTY or EEXISTS in this case.
For the next upstream release, I added:
POSIX.1-2001 also allows EEXIST for this condition.
Thanks for the report Martin.
Cheers,
Michael
> In fact, the current ntfs-3g version does use EEXISTS, allegedly
> because "more software handle the relevant error scenario better that
> way". (see [2] for the place where this originally came up)
>
> Thank you,
>
> Martin
>
> [1] http://www.opengroup.org/onlinepubs/007908775/xsh/rmdir.html
> [2] https://launchpad.net/bugs/186569
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]