]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Portability to SunOS4.
authorBruno Haible <bruno@clisp.org>
Wed, 31 Oct 2001 20:15:27 +0000 (20:15 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 21 Jun 2009 20:45:45 +0000 (22:45 +0200)
lib/ChangeLog
lib/Makefile.am
lib/execute.c
lib/pipe-bidi.c
lib/pipe-in.c
lib/pipe-out.c
lib/wait-process.c
lib/xerror.c

index d6475753e88de938aba4c4907283461c66ce33ef..1fb52a9bfdbf9c7fa8ca28179b67c5b86e5a1e31 100644 (file)
@@ -1,3 +1,16 @@
+2001-10-31  Bruno Haible  <haible@clisp.cons.org>
+
+       * Makefile.am (execute.lo, javacomp.lo, javaexec.lo, pipe-bidi.lo,
+       pipe-in.lo, pipe-out.lo, progname.lo, wait-process.lo, xerror.lo):
+       Depend on @STDBOOL_H@.
+       * execute.c (EXIT_FAILURE): Provide a fallback definition, for SunOS 4.
+       * pipe-bidi.c (EXIT_FAILURE): Likewise.
+       * pipe-in.c (EXIT_FAILURE): Likewise.
+       * pipe-out.c (EXIT_FAILURE): Likewise.
+       * wait-process.c (EXIT_FAILURE): Likewise.
+       * xerror.c (EXIT_FAILURE): Likewise.
+       (xasprintf): Use VA_START instead of va_start.
+
 2001-10-28  Bruno Haible  <haible@clisp.cons.org>
 
        * progname.c (set_program_name) [BeOS]: Make program_name absolute
index e37664da00d25a08e82bc1375ca46000462ae6dc..027ada83c741b6b9966b90fa618b54fd699e67e1 100644 (file)
@@ -73,7 +73,7 @@ DEFS = -DLIBDIR=\"$(libdir)\" @DEFS@
 INCLUDES = -I. -I$(srcdir) -I.. -I../intl -I$(top_srcdir)/intl
 
 
-all-local: @STDBOOL_H@
+all-local execute.lo javacomp.lo javaexec.lo pipe-bidi.lo pipe-in.lo pipe-out.lo progname.lo wait-process.lo xerror.lo: @STDBOOL_H@
 stdbool.h: stdbool.h.in
        cp $(srcdir)/stdbool.h.in stdbool.h
 MOSTLYCLEANFILES = @STDBOOL_H@
index 0082959c353fb255977770ca2c95e612607cdd75..775131134a2655de785dd2b47cdf6c89239357f4 100644 (file)
 #include "wait-process.h"
 #include "libgettext.h"
 
+#ifndef EXIT_FAILURE
+# define EXIT_FAILURE 1
+#endif
+
 #ifndef STDIN_FILENO
 # define STDIN_FILENO 0
 #endif
index f704fe216ba4c41bb767dbf7f5ef23d52ae6181a..2e63b7ce3d8d76c0d6df48b237a980b2497fd4b0 100644 (file)
 #include "error.h"
 #include "libgettext.h"
 
+#ifndef EXIT_FAILURE
+# define EXIT_FAILURE 1
+#endif
+
 #ifndef STDIN_FILENO
 # define STDIN_FILENO 0
 #endif
index 4b00c09e21177257d14085369824bf4d979e630c..c5aab15a4570f0954bbeac5e6c0245147b6b733e 100644 (file)
 #include "error.h"
 #include "libgettext.h"
 
+#ifndef EXIT_FAILURE
+# define EXIT_FAILURE 1
+#endif
+
 #ifndef STDIN_FILENO
 # define STDIN_FILENO 0
 #endif
index 957d2be9080fc0fd34df66d04fda37d3e00e5932..da0a8b1443d47415a437d2ff74faa6b27a870e63 100644 (file)
 #include "error.h"
 #include "libgettext.h"
 
+#ifndef EXIT_FAILURE
+# define EXIT_FAILURE 1
+#endif
+
 #ifndef STDIN_FILENO
 # define STDIN_FILENO 0
 #endif
index 408117c745be893967281c577562ced98202bc55..b48dc269c5a083b06c82513641d18b481288f2f5 100644 (file)
 #include "error.h"
 #include "libgettext.h"
 
+#ifndef EXIT_FAILURE
+# define EXIT_FAILURE 1
+#endif
+
 #define _(str) gettext (str)
 
 
index 41b858325ecb7d45c638501ca45da019ce667b28..e74a57fa761d853bdc34145b7740274950cf54ba 100644 (file)
 #include "mbswidth.h"
 #include "libgettext.h"
 
+#ifndef EXIT_FAILURE
+# define EXIT_FAILURE 1
+#endif
+
 #define _(str) gettext (str)
 
 #if __STDC__
@@ -63,7 +67,7 @@ xasprintf (va_alist)
   va_list args;
   char *result;
 
-  va_start (args, format);
+  VA_START (args, format);
 #if !__STDC__ && !NEW_VARARGS
   format = va_arg (args, const char *);
 #endif