pspp-cvs
[Top][All Lists]
Advanced

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

[Pspp-cvs] pspp/src/libpspp i18n.c


From: John Darrington
Subject: [Pspp-cvs] pspp/src/libpspp i18n.c
Date: Sat, 17 May 2008 07:44:29 +0000

CVSROOT:        /sources/pspp
Module name:    pspp
Changes by:     John Darrington <jmd>   08/05/17 07:44:29

Modified files:
        src/libpspp    : i18n.c 

Log message:
        Don't issue a warning if the TO and FROM encodings are identical.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/src/libpspp/i18n.c?cvsroot=pspp&r1=1.11&r2=1.12

Patches:
Index: i18n.c
===================================================================
RCS file: /sources/pspp/pspp/src/libpspp/i18n.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- i18n.c      6 Nov 2007 05:49:04 -0000       1.11
+++ i18n.c      17 May 2008 07:44:28 -0000      1.12
@@ -46,7 +46,7 @@
 
   /* I don't think it's safe to translate this string or to use messaging
      as the convertors have not yet been set up */
-  if ( (iconv_t) -1 == conv)
+  if ( (iconv_t) -1 == conv && 0 != strcmp (tocode, fromcode))
     {
       const int err = errno;
       fprintf (stderr,




reply via email to

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