]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Document that ap_strtol should only really
authorJim Jagielski <jim@apache.org>
Tue, 18 Jun 2002 03:13:25 +0000 (03:13 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 18 Jun 2002 03:13:25 +0000 (03:13 +0000)
be used with bases <19 because of EBCDIC.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@95755 13f79535-47bb-0310-9956-ffa450edef68

src/ap/ap_strtol.c

index dfa865c4b1fd010ffadd469b4b48e130b22ef1f1..2a639af603c4c74d8e72c2abad22a7398d92ce32 100644 (file)
  *
  * Assumes that the upper and lower case
  * alphabets and digits are each contiguous.
+ * As such, this will break on EBCDIC machines
+ * if base is >19. The highest we use is 16
+ * so we're OK, but you are warned!
  */
 
 API_EXPORT(long) ap_strtol(const char *nptr, char **endptr, int base)