Martin Koeppe <[EMAIL PROTECTED]> wrote: > The test tests/rm/dir-nonrecur shows IMO a real bug in coreutils, > however: > "rm d" should fail at > remove.c:1094 with "cannot remove 'd': Is a directory" > but fails there with "cannot remove 'd': No such file or diectory" > > If I remove the translation call _() around the text, then it fails > correctly with "Is a directory". I think failures during translation > shouldn't change the errno reported.
Thanks for investigating. If it's happening the way you say, then gettext must change, and fail to restore errno. Are you using the latest version of gettext? Why do you think that's a bug in coreutils? Can you provide something like strace/truss output?