bug-binutils
[Top][All Lists]
Advanced

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

Re: Strange singular/plural messages in 2.33.90


From: Nick Clifton
Subject: Re: Strange singular/plural messages in 2.33.90
Date: Fri, 24 Jan 2020 11:56:40 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2

Hi Göran,

> While translating 2.33.90 to Swedish, I came across this code from readelf.c:
> 
>     warn (ngettext ("debuginfod: Corrupt note: only %ld byte remains, "
>                   "not enough for a full note\n",
>                   "Corrupt note: only %ld bytes remain, "
>                   "not enough for a full note\n",
>                   data_remaining),
>         (long) data_remaining);
> 
> It seems strange you would want the "debuginfod" prefix only in the
> case of singular, while the plural form has no such prefix.  I suspect
> that is a mistake.
> 
> The code snippet appears twice.

Thanks for reporting this.  I have checked in the obvious fix.

Cheers
  Nick

binutils/ChangeLog
2020-01-24  Nick Clifton  <address@hidden>

        * readelf.c (get_build_id): Fix warning messages about corrupt
        notes.




reply via email to

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