summaryrefslogtreecommitdiffstats
path: root/gettext-runtime/lib
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-09-15 19:06:16 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:10:59 +0200
commitd5d1ae3b3c3ae2f837740e5f5d65326197ccdb98 (patch)
tree8fbe45763c2c1849a39b9d5e391ed100aa9e28c2 /gettext-runtime/lib
parent3f0ee8caa6c510ac4b025e56958c69734282ca8f (diff)
downloadexternal_gettext-d5d1ae3b3c3ae2f837740e5f5d65326197ccdb98.zip
external_gettext-d5d1ae3b3c3ae2f837740e5f5d65326197ccdb98.tar.gz
external_gettext-d5d1ae3b3c3ae2f837740e5f5d65326197ccdb98.tar.bz2
Check for write error on stdout when the program exits.
Diffstat (limited to 'gettext-runtime/lib')
-rw-r--r--gettext-runtime/lib/ChangeLog8
-rw-r--r--gettext-runtime/lib/Makefile.am1
-rw-r--r--gettext-runtime/lib/Makefile.msvc5
-rw-r--r--gettext-runtime/lib/Makefile.vms5
4 files changed, 17 insertions, 2 deletions
diff --git a/gettext-runtime/lib/ChangeLog b/gettext-runtime/lib/ChangeLog
index ef75ef9..2432f58 100644
--- a/gettext-runtime/lib/ChangeLog
+++ b/gettext-runtime/lib/ChangeLog
@@ -1,3 +1,11 @@
+2003-09-13 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (libgrt_a_SOURCES): Add closeout.h, closeout.c.
+ * Makefile.msvc (OBJECTS): Add closeout.obj.
+ (closeout.obj): New rule.
+ * Makefile.vms (OBJECTS): Add closeout.obj.
+ (closeout.obj): New rule.
+
2003-07-01 Bruno Haible <bruno@clisp.org>
* readlink.c: New file, trivial link to ../../gettext-tools/lib.
diff --git a/gettext-runtime/lib/Makefile.am b/gettext-runtime/lib/Makefile.am
index 0a584e2..8078a35 100644
--- a/gettext-runtime/lib/Makefile.am
+++ b/gettext-runtime/lib/Makefile.am
@@ -27,6 +27,7 @@ noinst_LIBRARIES = libgrt.a
libgrt_a_SOURCES = \
../../gettext-tools/lib/basename.h ../../gettext-tools/lib/basename.c \
+ ../../gettext-tools/lib/closeout.h ../../gettext-tools/lib/closeout.c \
../../gettext-tools/lib/error.h ../../gettext-tools/lib/error.c \
../../gettext-tools/lib/exit.h \
../../gettext-tools/lib/getopt.h ../../gettext-tools/lib/getopt.c ../../gettext-tools/lib/getopt1.c \
diff --git a/gettext-runtime/lib/Makefile.msvc b/gettext-runtime/lib/Makefile.msvc
index 421e41f..01dcb3b 100644
--- a/gettext-runtime/lib/Makefile.msvc
+++ b/gettext-runtime/lib/Makefile.msvc
@@ -52,13 +52,16 @@ RM = -del
SHELL = /bin/sh
-OBJECTS = basename.obj error.obj getopt.obj getopt1.obj progname.obj progreloc.obj relocatable.obj xmalloc.obj xstrdup.obj
+OBJECTS = basename.obj closeout.obj error.obj getopt.obj getopt1.obj progname.obj progreloc.obj relocatable.obj xmalloc.obj xstrdup.obj
all : grt.lib
basename.obj : ..\..\gettext-tools\lib\basename.c
$(CC) $(INCLUDES) $(CFLAGS) -c ..\..\gettext-tools\lib\basename.c
+closeout.obj : ..\..\gettext-tools\lib\closeout.c
+ $(CC) $(INCLUDES) $(CFLAGS) -c ..\..\gettext-tools\lib\closeout.c
+
error.obj : ..\..\gettext-tools\lib\error.c
$(CC) $(INCLUDES) $(CFLAGS) -c ..\..\gettext-tools\lib\error.c
diff --git a/gettext-runtime/lib/Makefile.vms b/gettext-runtime/lib/Makefile.vms
index 26b3ec8..af9d560 100644
--- a/gettext-runtime/lib/Makefile.vms
+++ b/gettext-runtime/lib/Makefile.vms
@@ -27,7 +27,7 @@ RM = delete
#### End of system configuration section. ####
-OBJECTS = basename.obj,error.obj,getopt.obj,getopt1.obj,progname.obj,progreloc.obj,relocatable.obj,xmalloc.obj,xstrdup.obj
+OBJECTS = basename.obj,closeout.obj,error.obj,getopt.obj,getopt1.obj,progname.obj,progreloc.obj,relocatable.obj,xmalloc.obj,xstrdup.obj
all : grt.olb
write sys$output "Nothing else to be done for 'all'."
@@ -35,6 +35,9 @@ all : grt.olb
basename.obj : [-.-.gettext-tools.lib]basename.c
$(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) [-.-.gettext-tools.lib]basename.c
+closeout.obj : [-.-.gettext-tools.lib]closeout.c
+ $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) [-.-.gettext-tools.lib]closeout.c
+
error.obj : [-.-.gettext-tools.lib]error.c
$(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) [-.-.gettext-tools.lib]error.c