about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2016-05-30 13:28:25 +0200
committerFlorian Weimer <fweimer@redhat.com>2016-05-30 13:28:25 +0200
commitc30c3f46a5f2e60639dab888c487397b579942e9 (patch)
treec34a0153fa9e68992ae678338d5a64003387b3fc
parent3904414a3008751ffcaf18fbe33bd34812b7bfe5 (diff)
downloadglibc-c30c3f46a5f2e60639dab888c487397b579942e9.tar.gz
glibc-c30c3f46a5f2e60639dab888c487397b579942e9.tar.xz
glibc-c30c3f46a5f2e60639dab888c487397b579942e9.zip
stpcpy is part of POSIX.1-2008 [BZ #3629]
-rw-r--r--ChangeLog6
-rw-r--r--manual/string.texi6
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 3eee1b286e..042fb893e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2016-05-30  Roland McGrath  <roland@hack.frob.com>
+
+	[BZ #3629]
+	* manual/string.texi (Copying Strings and Arrays): stpcpy is part
+	of POSIX.1-2008.
+
 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
 	* sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
diff --git a/manual/string.texi b/manual/string.texi
index 016fd0b9a0..58a905e6d9 100644
--- a/manual/string.texi
+++ b/manual/string.texi
@@ -612,9 +612,9 @@ and @samp{bar} to produce @samp{foobar}, which it then prints.
 @include stpcpy.c.texi
 @end smallexample
 
-This function is not part of the ISO or POSIX standards, and is not
-customary on Unix systems, but we did not invent it either.  Perhaps it
-comes from MS-DOG.
+This function is part of POSIX.1-2008 and later editions, but was
+available in @theglibc{} and other systems as an extension long before
+it was standardized.
 
 Its behavior is undefined if the strings overlap.  The function is
 declared in @file{string.h}.