bug-gnulib
[Top][All Lists]
Advanced

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

typo in error module


From: Eric Blake
Subject: typo in error module
Date: Fri, 28 Jul 2006 21:14:47 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

On glibc platforms, error_at_line currently violates GNU coding standards when 
the output stream is in wide character mode.  OK to apply?  Does this need to 
be pushed to glibc?

2006-07-28  Eric Blake  <address@hidden>

        * error.c (error_at_line): Fix typo in wide string.

Index: lib/error.c
===================================================================
RCS file: /sources/gnulib/gnulib/lib/error.c,v
retrieving revision 1.43
diff -u -r1.43 error.c
--- lib/error.c 14 May 2005 06:03:58 -0000      1.43
+++ lib/error.c 28 Jul 2006 21:13:41 -0000
@@ -268,7 +268,7 @@
     {
 #if _LIBC
       if (_IO_fwide (stderr, 0) > 0)
-       __fwprintf (stderr, L"%s: ", program_name);
+       __fwprintf (stderr, L"%s:", program_name);
       else
 #endif
        fprintf (stderr, "%s:", program_name);







reply via email to

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