From cf8bf843f8be1771b8ad2489480cfdbbc42a668d Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 25 Aug 2017 17:59:28 +0200 Subject: [PATCH] cygwin: export strnstr Signed-off-by: Corinna Vinschen --- winsup/cygwin/common.din | 1 + winsup/cygwin/include/cygwin/version.h | 3 ++- winsup/cygwin/release/2.9.0 | 2 +- winsup/doc/new-features.xml | 2 +- 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 @@ -New APIs: explicit_bzero. +New APIs: explicit_bzero, strnstr.