This is the mail archive of the cygwin-cvs@cygwin.com 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]

[newlib-cygwin] cygwin: export strnstr


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=cf8bf843f8be1771b8ad2489480cfdbbc42a668d

commit cf8bf843f8be1771b8ad2489480cfdbbc42a668d
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Fri Aug 25 17:59:28 2017 +0200

    cygwin: export strnstr
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 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 ca6ff3c..55fa9b1 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 7686a68..e5c9e7f 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 ac4c649..0fff763 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 0aa8577..9bdb94c 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>


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