[newlib-cygwin] Document GNU basename.
Corinna Vinschen
corinna@sourceware.org
Tue Mar 31 11:13:00 GMT 2015
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=87dd9bec10b09457ff2667bea29b6677f37d1f0c
commit 87dd9bec10b09457ff2667bea29b6677f37d1f0c
Author: Corinna Vinschen <corinna@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 <corinna@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 <corinna@vinschen.de>
+
+ * new-features.xml (ov-new1.7.36): Add new section. Document GNU
+ basename.
+
2015-03-30 Yaakov Selkowitz <yselkowi@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 <string.h>
+</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">
More information about the Cygwin-cvs
mailing list