Okay, since newlib has accepted the Makefile patch, NOW it's okay to apply this change to cygwin. But, I've updated it to also fix version.h. Tested and everything. <g>

2003-01-01 Charles Wilson <[EMAIL PROTECTED]>

* winsup/cygwin/cygwin.din: add asprintf and
vasprintf, as well as the reentrant versions and
underscore variants.
* winsup/cygwin/include/cygwin/version.h: bump
CYGWIN_VERSION_API_MINOR

Index: cygwin.din
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/cygwin.din,v
retrieving revision 1.72
diff -u -r1.72 cygwin.din
--- cygwin.din  6 Dec 2002 19:48:03 -0000       1.72
+++ cygwin.din  2 Jan 2003 02:40:17 -0000
@@ -50,6 +50,10 @@
 _asinh = asinh
 asinhf
 _asinhf = asinhf
+asprintf
+_asprintf = asprintf
+_asprintf_r
+asprintf_r = _asprintf_r
 atan
 _atan = atan
 atan2
@@ -943,6 +947,10 @@
 utmpname
 _utmpname = utmpname
 valloc
+vasprintf
+_vasprintf = vasprintf
+_vasprintf_r
+vasprintf_r = _vasprintf_r
 vfiprintf
 _vfiprintf = vfiprintf
 vfork
Index: version.h
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/include/cygwin/version.h,v
retrieving revision 1.93
diff -u -r1.93 version.h
--- version.h   25 Dec 2002 23:39:04 -0000      1.93
+++ version.h   7 Jan 2003 03:28:59 -0000
@@ -167,12 +167,13 @@
        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


Reply via email to