[Top][All Lists]
[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?
- Re: Fwd: Re: error.c: "Unknown system error" should report errno value, Martin Koeppe, 2007/10/03
- Re: Fwd: Re: error.c: "Unknown system error" should report errno value, Jim Meyering, 2007/10/03
- Re: Fwd: Re: error.c: "Unknown system error" should report errno value, Martin Koeppe, 2007/10/05
- Re: Fwd: Re: error.c: "Unknown system error" should report errno value, Andreas Schwab, 2007/10/05
- Re: Fwd: Re: error.c: "Unknown system error" should report errno value, Jim Meyering, 2007/10/06
- Re: Fwd: Re: error.c: "Unknown system error" should report errno value, Martin Koeppe, 2007/10/07
- Re: Fwd: Re: error.c: "Unknown system error" should report errno value,
Jim Meyering <=
- Re: Fwd: Re: error.c: "Unknown system error" should report errno value, Bruno Haible, 2007/10/07
- Re: Fwd: Re: error.c: "Unknown system error" should report errno value, Jim Meyering, 2007/10/07
- Re: Fwd: Re: error.c: "Unknown system error" should report errno value, Martin Koeppe, 2007/10/07
- Re: Fwd: Re: error.c: "Unknown system error" should report errno value, Martin Koeppe, 2007/10/14
- gettext clobbers errno (was: Re: Fwd: Re: error.c: "Unknown system error" should report errno value), Bruno Haible, 2007/10/14
- Re: gettext clobbers errno (was: Re: Fwd: Re: error.c: "Unknown system error" should report errno value), Martin Koeppe, 2007/10/14
- Re: gettext clobbers errno (was: Re: Fwd: Re: error.c: "Unknown system error" should report errno value), Bruno Haible, 2007/10/14
- Re: Fwd: Re: error.c: "Unknown system error" should report errno value, Bruno Haible, 2007/10/06
- Re: Fwd: Re: error.c: "Unknown system error" should report errno value, Jim Meyering, 2007/10/06
- Re: Fwd: Re: error.c: "Unknown system error" should report errno value, Bruno Haible, 2007/10/06