bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: Re: error.c: "Unknown system error" should report errno value


From: Jim Meyering
Subject: Re: Fwd: Re: error.c: "Unknown system error" should report errno value
Date: Sun, 07 Oct 2007 15:20:34 +0200

Martin Koeppe <address@hidden> 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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]