diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2002-12-14 16:59:59 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2002-12-14 16:59:59 +0000 |
commit | b60e545bb64f96a4eaad691e623891baed6ffbcf (patch) | |
tree | b83262d0a76f5b339398cb2d71373cade178a28a /winsup/cygwin/netdb.cc | |
parent | 6e8a0232dfd37bc5dd20ee3cc47f4b4d92b987d2 (diff) | |
download | cygnal-b60e545bb64f96a4eaad691e623891baed6ffbcf.tar.gz cygnal-b60e545bb64f96a4eaad691e623891baed6ffbcf.tar.bz2 cygnal-b60e545bb64f96a4eaad691e623891baed6ffbcf.zip |
* netdb.cc: Remove strtok_r comment.
Diffstat (limited to 'winsup/cygwin/netdb.cc')
-rw-r--r-- | winsup/cygwin/netdb.cc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/winsup/cygwin/netdb.cc b/winsup/cygwin/netdb.cc index f2b1f87f6..689fb3e03 100644 --- a/winsup/cygwin/netdb.cc +++ b/winsup/cygwin/netdb.cc @@ -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) { |