bug-gnulib
[Top][All Lists]
Advanced

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

strerror translations [was: perror bug]


From: Eric Blake
Subject: strerror translations [was: perror bug]
Date: Thu, 19 May 2011 14:28:31 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

On 05/18/2011 09:27 PM, Bruno Haible wrote:
>   int
>   strerror_r (int errnum, char *buf, size_t buflen)
> ! #undef strerror_r
>   {
> ! #if EXTEND_STRERROR_R
> !   {
> !     char const *msg = NULL;
> !     /* These error messages are taken from glibc/sysdeps/gnu/errlist.c.  */
> !     switch (errnum)
> !       {
> ! # if GNULIB_defined_ETXTBSY
> !       case ETXTBSY:
> !         msg = "Text file busy";

Should we be marking all of these msg strings for translation?  It would
be a bit disconcerting to have some, but not all, strerror messages
translated on a platform where we are augmenting the existing system
errno values.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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