* [PATCH] Export rawmemchr
@ 2013-06-24 5:17 Yaakov (Cygwin/X)
2013-06-24 9:46 ` Corinna Vinschen
0 siblings, 1 reply; 2+ messages in thread
From: Yaakov (Cygwin/X) @ 2013-06-24 5:17 UTC (permalink / raw)
To: cygwin-patches
[-- Attachment #1: Type: text/plain, Size: 74 bytes --]
Patch for Cygwin, pending approval of my newlib patch, attached.
Yaakov
[-- Attachment #2: cygwin-rawmemchr.patch --]
[-- Type: text/x-patch, Size: 2367 bytes --]
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:
----------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Export rawmemchr
2013-06-24 5:17 [PATCH] Export rawmemchr Yaakov (Cygwin/X)
@ 2013-06-24 9:46 ` Corinna Vinschen
0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2013-06-24 9:46 UTC (permalink / raw)
To: cygwin-patches
Hi Yaakov,
On Jun 24 00:17, Yaakov (Cygwin/X) wrote:
> Patch for Cygwin, pending approval of my newlib patch, attached.
See my reply on the newlib list. I would go with rawmemchr = strchr,
unless there's a really good reason not to. The rest of the patch is
a no-brainer.
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-24 9:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-24 5:17 [PATCH] Export rawmemchr Yaakov (Cygwin/X)
2013-06-24 9:46 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).