]> sourceware.org Git - newlib-cygwin.git/commitdiff
* netdb.cc: Remove strtok_r comment.
authorCorinna Vinschen <corinna@vinschen.de>
Sat, 14 Dec 2002 16:59:59 +0000 (16:59 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Sat, 14 Dec 2002 16:59:59 +0000 (16:59 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/netdb.cc

index aafc26d5764cbc7574cc35bd90d952321917561f..72a089dfc89e9d67478f013f3ccab6195adbaad3 100644 (file)
@@ -1,3 +1,7 @@
+2002-12-14  Corinna Vinschen  <corinna@vinschen.de>
+
+       * netdb.cc: Remove strtok_r comment.
+
 2002-12-14  Pierre Humblet  <pierre.humblet@ieee.org>
 
        * security.cc (get_user_local_groups): Use LookupAccountSid to find the
index f2b1f87f6330f9d8ab49fe4419280622f7368777..689fb3e03371724b0935676ddb69ea7830a4827b 100644 (file)
@@ -133,15 +133,7 @@ delimit tokens.  */
 static const NO_COPY char *SPACE = " \t\n\r\f";
 
 /* Parse a list aliases from a network database file.  Returns a
-char** structure terminated by a NULL.
-
-N.B. This routine relies on side effects due to the nature of
-strtok_r().  strtok_r() initially takes a char * pointing to the start of
-a line, and then NULL to indicate continued processing.  strtok_r() does
-not provide a mechanism for getting pointer to the unprocessed portion
-of a line.  Alias processing is done part way through a line after
-strtok_r().  This routine relies on further calls to strtok_r(), passing
-NULL as the first parameter, returning alias names from the line. */
+char** structure terminated by a NULL. */
 static void
 parse_alias_list (char ***aliases, char **lasts)
 {
This page took 0.039931 seconds and 5 git commands to generate.