summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2017-08-25 17:59:28 +0200
committerCorinna Vinschen <corinna@vinschen.de>2017-08-25 18:00:46 +0200
commitcf8bf843f8be1771b8ad2489480cfdbbc42a668d (patch)
treefdc558f8583cda14989fd09cb53210c2c2358b48
parentc070326d31af28a0353c855e5a4dceb3b57c6144 (diff)
downloadcygnal-cf8bf843f8be1771b8ad2489480cfdbbc42a668d.tar.gz
cygnal-cf8bf843f8be1771b8ad2489480cfdbbc42a668d.tar.bz2
cygnal-cf8bf843f8be1771b8ad2489480cfdbbc42a668d.zip
cygwin: export strnstr
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r--winsup/cygwin/common.din1
-rw-r--r--winsup/cygwin/include/cygwin/version.h3
-rw-r--r--winsup/cygwin/release/2.9.02
-rw-r--r--winsup/doc/new-features.xml2
4 files changed, 5 insertions, 3 deletions
diff --git a/winsup/cygwin/common.din b/winsup/cygwin/common.din
index ca6ff3cf9..55fa9b16c 100644
--- a/winsup/cygwin/common.din
+++ b/winsup/cygwin/common.din
@@ -1376,6 +1376,7 @@ strncmp NOSIGFE
strncpy NOSIGFE
strndup SIGFE
strnlen NOSIGFE
+strnstr NOSIGFE
strpbrk NOSIGFE
strptime SIGFE
strptime_l SIGFE
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index 7686a6865..e5c9e7fcd 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -482,12 +482,13 @@ details. */
315: Export pthread_mutex_timedlock.
316: Export pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock.
317: Export renameat2.
+ 318: Export strnstr.
Note that we forgot to bump the api for ualarm, strtoll, strtoull,
sigaltstack, sethostname. */
#define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 317
+#define CYGWIN_VERSION_API_MINOR 318
/* There is also a compatibity version number associated with the shared memory
regions. It is incremented when incompatible changes are made to the shared
diff --git a/winsup/cygwin/release/2.9.0 b/winsup/cygwin/release/2.9.0
index ac4c64949..0fff76330 100644
--- a/winsup/cygwin/release/2.9.0
+++ b/winsup/cygwin/release/2.9.0
@@ -1,7 +1,7 @@
What's new:
-----------
-- New APIs: explicit_bzero.
+- New APIs: explicit_bzero, strnstr.
- New APIs: pthread_mutex_timedwait, pthread_rwlock_timedrdlock,
pthread_rwlock_timedwrlock.
diff --git a/winsup/doc/new-features.xml b/winsup/doc/new-features.xml
index 0aa857730..9bdb94c11 100644
--- a/winsup/doc/new-features.xml
+++ b/winsup/doc/new-features.xml
@@ -9,7 +9,7 @@
<itemizedlist mark="bullet">
<listitem><para>
-New APIs: explicit_bzero.
+New APIs: explicit_bzero, strnstr.
</para></listitem>
<listitem><para>