It seems the whole condition in printf.c is obsolete.

The attached patch fixes that.

Michel can you test if this works for you?

Have fun


2010/5/12 Harry Thijssen <p...@sjpaes.nl>:
> Ok, when I change !DEPENDS_ON_LIBINTL to DEPENDS_ON_LIBINTL on line 26
> of gl/printf.c it works for me. What happens for you in that case?
>
> A build for my openSUSE installation crashes when I haved changed this line.
>
> Have fun
>
> 2010/5/12 Michel Boaventura <mic...@michelboaventura.com>:
>>> Unfortunately not. I get the same error as before.
>>
>> This is very strange. The LIBINTL is the only thing that has change between
>> this two builds.
>>
>> I don't know then what is the problem :(
>>
>> Michel
>>
>
diff -ur pspp-0.7.4-g64a18d/gl/printf.c pspp/gl/printf.c
--- pspp-0.7.4-g64a18d/gl/printf.c	2010-05-12 13:06:16.000000000 +0200
+++ pspp/gl/printf.c	2010-05-13 13:02:30.452114928 +0200
@@ -23,8 +23,6 @@
 
 #include <stdarg.h>
 
-#if !DEPENDS_ON_LIBINTL /* avoid collision with intl/printf.c */
-
 /* Print formatted output to standard output.
    Return string length of formatted string.  On error, return a negative
    value.  */
@@ -40,5 +38,3 @@
 
   return retval;
 }
-
-#endif
Alleen in pspp/gl: printf.c~
_______________________________________________
pspp-dev mailing list
pspp-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to