From 6af41f62f0e1d8f1d7c67b472e95c17c282e2900 Mon Sep 17 00:00:00 2001 From: hniksic Date: Thu, 23 Jun 2005 06:52:06 -0700 Subject: [PATCH] [svn] Expand comment for strpbrk. --- src/cmpt.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/cmpt.c b/src/cmpt.c index 916e5449..84cdbc24 100644 --- a/src/cmpt.c +++ b/src/cmpt.c @@ -111,8 +111,10 @@ strncasecmp (const char *s1, const char *s2, size_t n) } #endif /* not HAVE_STRNCASECMP */ -/* strpbrk is required by POSIX and C99, but it is missing from some - older systems and from Windows. */ +/* strpbrk is a BSD 4.3 function mandated by POSIX and C99 and present + on Windows. It might be missing from older Unixes of non-BSD + ancestry or possibly from non-Unix systems Wget gets ported to, so + we add it here. */ #ifndef HAVE_STRPBRK /* Find the first ocurrence in S of any character in ACCEPT. */ -- 2.39.2