This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
export getsubopt
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin-patches at cygwin dot com
- Date: Fri, 6 Jan 2006 15:29:47 +0000 (UTC)
- Subject: export getsubopt
Since POSIX requires getsubopt, and newlib provides it, here goes (and let's
hope this patch applies cleaner than my previous two):
2006-01-06 Eric Blake <ebb9@byu.net>
* cygwin.din: Export getsubopt.
* include/cygwin/version.h: Bump API minor version.
Index: cygwin.din
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/cygwin.din,v
retrieving revision 1.151
diff -u -r1.151 cygwin.din
--- cygwin.din 18 Nov 2005 17:48:23 -0000 1.151
+++ cygwin.din 6 Jan 2006 15:27:57 -0000
@@ -321,6 +321,7 @@
getservent = cygwin_getservent SIGFE
getsockname = cygwin_getsockname SIGFE
getsockopt = cygwin_getsockopt SIGFE
+getsubopt SIGFE
getusershell SIGFE
herror = cygwin_herror SIGFE
hstrerror = cygwin_hstrerror NOSIGFE
Index: include/cygwin/version.h
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/include/cygwin/version.h,v
retrieving revision 1.219
diff -u -r1.219 version.h
--- include/cygwin/version.h 22 Dec 2005 16:45:15 -0000 1.219
+++ include/cygwin/version.h 6 Jan 2006 15:27:57 -0000
@@ -1,6 +1,6 @@
/* version.h -- Cygwin version numbers and accompanying documentation.
- Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
+ Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
Red Hat, Inc.
This file is part of Cygwin.
@@ -284,12 +284,13 @@
int, as per linux.
148: Add open(2) flags O_SYNC, O_RSYNC, O_DSYNC and O_DIRECT.
149: Add open(2) flag O_NOFOLLOW.
+ 150: Export getsubopt.
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 149
+#define CYGWIN_VERSION_API_MINOR 150
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible