From: Bruno Haible Date: Thu, 3 Apr 2003 15:32:16 +0000 (+0000) Subject: Tweak. X-Git-Tag: v0.12~106 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ff07a79ca1d726c1f9467e9a84a1b217399f6b7;p=thirdparty%2Fgettext.git Tweak. --- diff --git a/gettext-tools/lib/ChangeLog b/gettext-tools/lib/ChangeLog index 37df061e4..a49e167bb 100644 --- a/gettext-tools/lib/ChangeLog +++ b/gettext-tools/lib/ChangeLog @@ -1,3 +1,11 @@ +2003-04-03 Bruno Haible + + * w32spawn.h (dup_noinherit): Signal an error instead of returning -1. + * execute.c: Reorder includes. + * pipe-bidi.c: Likewise. + * pipe-in.c: Likewise. + * pipe-out.c: Likewise. + 2003-04-02 Bruno Haible * binary-io.h: Cosmetics. Suggested by Jim Meyering. diff --git a/gettext-tools/lib/execute.c b/gettext-tools/lib/execute.c index d9cbbe97b..6754bc1ad 100644 --- a/gettext-tools/lib/execute.c +++ b/gettext-tools/lib/execute.c @@ -33,6 +33,13 @@ # include #endif +#include "error.h" +#include "exit.h" +#include "wait-process.h" +#include "gettext.h" + +#define _(str) gettext (str) + #if defined _MSC_VER || defined __MINGW32__ /* Native Woe32 API. */ @@ -52,11 +59,6 @@ #endif -#include "error.h" -#include "exit.h" -#include "wait-process.h" -#include "gettext.h" - #ifndef STDIN_FILENO # define STDIN_FILENO 0 #endif @@ -67,8 +69,6 @@ # define STDERR_FILENO 2 #endif -#define _(str) gettext (str) - #ifdef EINTR diff --git a/gettext-tools/lib/pipe-bidi.c b/gettext-tools/lib/pipe-bidi.c index 31364a8d8..5c8b4d971 100644 --- a/gettext-tools/lib/pipe-bidi.c +++ b/gettext-tools/lib/pipe-bidi.c @@ -32,6 +32,12 @@ # include #endif +#include "error.h" +#include "exit.h" +#include "gettext.h" + +#define _(str) gettext (str) + #if defined _MSC_VER || defined __MINGW32__ /* Native Woe32 API. */ @@ -51,10 +57,6 @@ #endif -#include "error.h" -#include "exit.h" -#include "gettext.h" - #ifndef STDIN_FILENO # define STDIN_FILENO 0 #endif @@ -65,8 +67,6 @@ # define STDERR_FILENO 2 #endif -#define _(str) gettext (str) - #ifdef EINTR diff --git a/gettext-tools/lib/pipe-in.c b/gettext-tools/lib/pipe-in.c index b96150e76..53a791efc 100644 --- a/gettext-tools/lib/pipe-in.c +++ b/gettext-tools/lib/pipe-in.c @@ -32,6 +32,12 @@ # include #endif +#include "error.h" +#include "exit.h" +#include "gettext.h" + +#define _(str) gettext (str) + #if defined _MSC_VER || defined __MINGW32__ /* Native Woe32 API. */ @@ -51,10 +57,6 @@ #endif -#include "error.h" -#include "exit.h" -#include "gettext.h" - #ifndef STDIN_FILENO # define STDIN_FILENO 0 #endif @@ -65,8 +67,6 @@ # define STDERR_FILENO 2 #endif -#define _(str) gettext (str) - #ifdef EINTR diff --git a/gettext-tools/lib/pipe-out.c b/gettext-tools/lib/pipe-out.c index 76486972c..d943b940e 100644 --- a/gettext-tools/lib/pipe-out.c +++ b/gettext-tools/lib/pipe-out.c @@ -32,6 +32,12 @@ # include #endif +#include "error.h" +#include "exit.h" +#include "gettext.h" + +#define _(str) gettext (str) + #if defined _MSC_VER || defined __MINGW32__ /* Native Woe32 API. */ @@ -51,10 +57,6 @@ #endif -#include "error.h" -#include "exit.h" -#include "gettext.h" - #ifndef STDIN_FILENO # define STDIN_FILENO 0 #endif @@ -65,8 +67,6 @@ # define STDERR_FILENO 2 #endif -#define _(str) gettext (str) - #ifdef EINTR