]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Correct comments in string.h re strcoll_l, strxfrm_l.
authorZack Weinberg <zackw@panix.com>
Wed, 16 Nov 2016 19:18:32 +0000 (14:18 -0500)
committerZack Weinberg <zackw@panix.com>
Wed, 16 Nov 2016 19:18:32 +0000 (14:18 -0500)
* string/string.h: Remove obsolete comment stating that
strcoll_l and strxfrm_l have not yet been standardized.

ChangeLog
string/string.h

index b2e5b68cf8e6a409d7bc3976465d87001bba54ba..25e1da152ad850806519e17d115c8f4f4891240b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-11-16  Zack Weinberg  <zackw@panix.com>
+
+       * string/string.h: Remove obsolete comment stating that
+       strcoll_l and strxfrm_l have not yet been standardized.
+
 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
        * hurd/hurd.h (__hurd_fail_noerrno): New function.
index 57deaa4191a23049ff3c1a89203fe6b2eab46f39..b103e64912fe1904098e229ccb845bb2c5c10835 100644 (file)
@@ -154,15 +154,13 @@ extern size_t strxfrm (char *__restrict __dest,
 __END_NAMESPACE_STD
 
 #ifdef __USE_XOPEN2K8
-/* The following functions are equivalent to the both above but they
-   take the locale they use for the collation as an extra argument.
-   This is not standardsized but something like will come.  */
 # include <xlocale.h>
 
-/* Compare the collated forms of S1 and S2 using rules from L.  */
+/* Compare the collated forms of S1 and S2, using sorting rules from L.  */
 extern int strcoll_l (const char *__s1, const char *__s2, __locale_t __l)
      __THROW __attribute_pure__ __nonnull ((1, 2, 3));
-/* Put a transformation of SRC into no more than N bytes of DEST.  */
+/* Put a transformation of SRC into no more than N bytes of DEST,
+   using sorting rules from L.  */
 extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n,
                         __locale_t __l) __THROW __nonnull ((2, 4));
 #endif