This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Export rawmemchr


Patch for Cygwin, pending approval of my newlib patch, attached.


Yaakov
2013-06-23  Yaakov Selkowitz  <yselkowitz@...>

	* common.din (rawmemchr): Export.
	* posix.sgml (std-gnu): Add rawmemchr.
	* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

Index: common.din
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/common.din,v
retrieving revision 1.4
diff -u -p -r1.4 common.din
--- common.din	21 May 2013 19:04:49 -0000	1.4
+++ common.din	24 Jun 2013 04:49:16 -0000
@@ -897,6 +897,7 @@ raise SIGFE
 rand NOSIGFE
 rand_r NOSIGFE
 random NOSIGFE
+rawmemchr NOSIGFE
 rcmd = cygwin_rcmd SIGFE
 rcmd_af = cygwin_rcmd_af SIGFE
 read SIGFE
Index: posix.sgml
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/posix.sgml,v
retrieving revision 1.85
diff -u -p -r1.85 posix.sgml
--- posix.sgml	13 Jun 2013 12:50:28 -0000	1.85
+++ posix.sgml	24 Jun 2013 04:49:16 -0000
@@ -1145,6 +1145,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008)
     pthread_getattr_np
     pthread_sigqueue
     ptsname_r
+    rawmemchr
     removexattr
     scandirat
     setxattr
Index: include/cygwin/version.h
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/include/cygwin/version.h,v
retrieving revision 1.383
diff -u -p -r1.383 version.h
--- include/cygwin/version.h	7 Jun 2013 09:21:53 -0000	1.383
+++ include/cygwin/version.h	24 Jun 2013 04:49:16 -0000
@@ -436,12 +436,13 @@ details. */
       265: Export __b64_ntop, __b64_pton.
       266: Export arc4random, arc4random_addrandom, arc4random_buf,
 	   arc4random_stir, arc4random_uniform.
+      267: Export rawmemchr.
      */
 
      /* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
 
 #define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 266
+#define CYGWIN_VERSION_API_MINOR 267
 
      /* There is also a compatibity version number associated with the
 	shared memory regions.  It is incremented when incompatible
Index: release/1.7.21
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/release/1.7.21,v
retrieving revision 1.5
diff -u -p -r1.5 1.7.21
--- release/1.7.21	19 Jun 2013 16:05:04 -0000	1.5
+++ release/1.7.21	24 Jun 2013 04:49:16 -0000
@@ -1,6 +1,7 @@
 What's new:
 -----------
 
+- New API: rawmemchr.
 
 Bug fixes:
 ----------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]