summaryrefslogtreecommitdiffstats
path: root/gettext-runtime
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-03-29 22:32:09 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:14:45 +0200
commit23562e2b491978c1caa6d7ec9b4a4d6a731ce3ed (patch)
tree8a057079d79b4db9fc9d768cb8831ff144986982 /gettext-runtime
parent9c5cdf799d69d4eb77e64d7f0f1942f2493f7eac (diff)
downloadexternal_gettext-23562e2b491978c1caa6d7ec9b4a4d6a731ce3ed.zip
external_gettext-23562e2b491978c1caa6d7ec9b4a4d6a731ce3ed.tar.gz
external_gettext-23562e2b491978c1caa6d7ec9b4a4d6a731ce3ed.tar.bz2
Sync with gnulib.
Diffstat (limited to 'gettext-runtime')
-rw-r--r--gettext-runtime/libasprintf/ChangeLog5
-rw-r--r--gettext-runtime/libasprintf/asprintf.c8
-rw-r--r--gettext-runtime/libasprintf/vasprintf.c8
3 files changed, 17 insertions, 4 deletions
diff --git a/gettext-runtime/libasprintf/ChangeLog b/gettext-runtime/libasprintf/ChangeLog
index 7482b58..319286f 100644
--- a/gettext-runtime/libasprintf/ChangeLog
+++ b/gettext-runtime/libasprintf/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-29 Bruno Haible <bruno@clisp.org>
+
+ * vasprintf.c: Sync with gnulib.
+ * asprintf.c: Likewise.
+
2007-03-25 Bruno Haible <bruno@clisp.org>
* lib/printf-parse.c [!IN_LIBINTL]: Include <stdint.h>, for intmax_t.
diff --git a/gettext-runtime/libasprintf/asprintf.c b/gettext-runtime/libasprintf/asprintf.c
index 79a03b0..87d2128 100644
--- a/gettext-runtime/libasprintf/asprintf.c
+++ b/gettext-runtime/libasprintf/asprintf.c
@@ -1,5 +1,5 @@
/* Formatted output to strings.
- Copyright (C) 1999, 2002, 2006 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002, 2006-2007 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published
@@ -19,7 +19,11 @@
#include <config.h>
/* Specification. */
-#include "vasprintf.h"
+#ifdef IN_LIBASPRINTF
+# include "vasprintf.h"
+#else
+# include <stdio.h>
+#endif
#include <stdarg.h>
diff --git a/gettext-runtime/libasprintf/vasprintf.c b/gettext-runtime/libasprintf/vasprintf.c
index 3411705..785468f 100644
--- a/gettext-runtime/libasprintf/vasprintf.c
+++ b/gettext-runtime/libasprintf/vasprintf.c
@@ -1,5 +1,5 @@
/* Formatted output to strings.
- Copyright (C) 1999, 2002, 2006 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002, 2006-2007 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published
@@ -19,7 +19,11 @@
#include <config.h>
/* Specification. */
-#include "vasprintf.h"
+#ifdef IN_LIBASPRINTF
+# include "vasprintf.h"
+#else
+# include <stdio.h>
+#endif
#include <errno.h>
#include <limits.h>