bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] strtok_r diff from glibc?


From: Karl Berry
Subject: [Bug-gnulib] strtok_r diff from glibc?
Date: Thu, 18 Nov 2004 12:02:11 -0500

Did I mess up my cvs?  It seems there is a comment in
gnulib/lib/strtok_r.c which is missing from
libc/sysdeps/generic/strtok_r.c.

Has this change been submitted to glibc?

Thanks,
karl


## /tmp/strtok_r.c lib/strtok_r.c  # changes
*** lib/strtok_r.c      Sun Nov 14 00:47:01 2004
--- /tmp/strtok_r.c     Thu Nov 18 00:45:26 2004
***************
*** 42,56 ****
        x = strtok_r(NULL, "=", &sp);   // x = NULL
                // s = "abc\0-def\0"
- 
-    For the POSIX documentation for this function, see:
-    http://www.opengroup.org/onlinepubs/009695399/functions/strtok.html
- 
-    Caveat: It modifies the original string.
-    Caveat: These functions cannot be used on constant strings.
-    Caveat: The identity of the delimiting character is lost.
-    Caveat: It doesn't work with multibyte strings unless all of the delimiter
-            characters are ASCII characters < 0x30.
- 
-    See also strsep().
  */
  char *
--- 42,45 ----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]