From 70d61f30fe4b853f2d2c3d9a53ec261a0a9873dc Mon Sep 17 00:00:00 2001
From: Corinna Vinschen <corinna@vinschen.de>
Date: Fri, 10 Jan 2003 12:19:17 +0000
Subject: [PATCH] 	* cygwin.din: add asprintf and vasprintf, as well as
 the reentrant 	versions and underscore variants. 	*
 include/cygwin/version.h: bump CYGWIN_VERSION_API_MINOR.

---
 winsup/cygwin/ChangeLog                | 6 ++++++
 winsup/cygwin/cygwin.din               | 8 ++++++++
 winsup/cygwin/include/cygwin/version.h | 3 ++-
 3 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 6bb47deda..11d22121c 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,9 @@
+2003-01-10  Charles Wilson  <cwilson@ece.gatech.edu>
+
+	* cygwin.din: add asprintf and vasprintf, as well as the reentrant
+	versions and underscore variants.
+	* include/cygwin/version.h: bump CYGWIN_VERSION_API_MINOR.
+
 2003-01-10  Corinna Vinschen <corinna@vinschen.de>
 
 	* net.cc (cygwin_gethostname): Fix call to wsock function gethostname.
diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din
index 5142f1ea3..aad2dda54 100644
--- a/winsup/cygwin/cygwin.din
+++ b/winsup/cygwin/cygwin.din
@@ -50,6 +50,10 @@ asinh
 _asinh = asinh
 asinhf
 _asinhf = asinhf
+asprintf
+_asprintf = asprintf
+_asprintf_r
+asprintf_r = _asprintf_r
 atan
 _atan = atan
 atan2
@@ -943,6 +947,10 @@ _utimes = utimes
 utmpname
 _utmpname = utmpname
 valloc
+vasprintf
+_vasprintf = vasprintf
+_vasprintf_r
+vasprintf_r = _vasprintf_r
 vfiprintf
 _vfiprintf = vfiprintf
 vfork
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index 690da3ff1..3f0704e0f 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -167,12 +167,13 @@ details. */
        67: Export pthread_getsequence_np
        68: Export netdb stuff
        69: Export strtof
+       70: Export asprintf, _asprintf_r, vasprintf, _vasprintf_r
      */
 
      /* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
 
 #define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 69
+#define CYGWIN_VERSION_API_MINOR 70
 
      /* There is also a compatibity version number associated with the
 	shared memory regions.  It is incremented when incompatible