From ccccd71d58598b4888fa71b7cb196b99acb5bce5 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 24 Jun 2013 15:12:40 +0000 Subject: [PATCH] * common.din (rawmemchr): Export. * posix.sgml (std-gnu): Add rawmemchr. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. --- winsup/cygwin/ChangeLog | 6 ++++++ winsup/cygwin/common.din | 1 + winsup/cygwin/include/cygwin/version.h | 3 ++- winsup/cygwin/posix.sgml | 1 + winsup/cygwin/release/1.7.21 | 1 + 5 files changed, 11 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index f101a9515..504cad5f4 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,9 @@ +2013-06-24 Yaakov Selkowitz + + * common.din (rawmemchr): Export. + * posix.sgml (std-gnu): Add rawmemchr. + * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. + 2013-06-21 Corinna Vinschen * path.cc (cygwin_conv_path): Handle NULL "from" path gracefully. diff --git a/winsup/cygwin/common.din b/winsup/cygwin/common.din index 913bf939e..e5f4eada7 100644 --- a/winsup/cygwin/common.din +++ b/winsup/cygwin/common.din @@ -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 diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index 0ef04663d..78fd4cc32 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -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 diff --git a/winsup/cygwin/posix.sgml b/winsup/cygwin/posix.sgml index 26846a51a..af9cd2b9a 100644 --- a/winsup/cygwin/posix.sgml +++ b/winsup/cygwin/posix.sgml @@ -1145,6 +1145,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008). pthread_getattr_np pthread_sigqueue ptsname_r + rawmemchr removexattr scandirat setxattr diff --git a/winsup/cygwin/release/1.7.21 b/winsup/cygwin/release/1.7.21 index 306150d2b..caa167914 100644 --- a/winsup/cygwin/release/1.7.21 +++ b/winsup/cygwin/release/1.7.21 @@ -1,6 +1,7 @@ What's new: ----------- +- New API: rawmemchr. Bug fixes: ----------