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

commit 2e3968cefa8b110a905fd3b5040ffd301a078674
Author: Corinna Vinschen <cori...@vinschen.de>
Date:   Tue Mar 31 13:12:24 2015 +0200

    Document GNU basename.
    
        * new-features.xml (ov-new1.7.36): Add new section.  Document GNU
        basename.
    
    Signed-off-by: Corinna Vinschen <cori...@vinschen.de>

Diff:
---
 winsup/doc/ChangeLog        |  5 +++++
 winsup/doc/new-features.xml | 18 ++++++++++++++++++
 2 files changed, 23 insertions(+)

diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog
index 4f923b6..b90e6c1 100644
--- a/winsup/doc/ChangeLog
+++ b/winsup/doc/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-31  Corinna Vinschen  <cori...@vinschen.de>
+
+       * new-features.xml (ov-new1.7.36): Add new section.  Document GNU
+       basename.
+
 2015-03-30  Yaakov Selkowitz  <yselk...@redhat.com>
 
        * posix.xml (std-gnu): Add basename.
diff --git a/winsup/doc/new-features.xml b/winsup/doc/new-features.xml
index fbbbdad..3f8b967 100644
--- a/winsup/doc/new-features.xml
+++ b/winsup/doc/new-features.xml
@@ -4,6 +4,24 @@
 
 <sect1 id="ov-new1.7"><title>What's new and what changed in Cygwin</title>
 
+<sect2 id="ov-new1.7.36"><title>What's new and what changed in 1.7.36</title>
+
+<itemizedlist mark="bullet">
+
+<listitem><para>
+basename(3) now comes in two flavors, POSIX and GNU.  The POSIX version is
+the default.  You get the GNU version after
+
+<screen>
+  #define _GNU_SOURCE
+  #include &lt;string.h&gt;
+</screen>
+</para></listitem>
+
+</itemizedlist>
+
+</sect2>
+
 <sect2 id="ov-new1.7.35"><title>What's new and what changed in 1.7.35</title>
 
 <itemizedlist mark="bullet">

Reply via email to