httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject cvs commit: apache-1.3/src/ap ap_strtol.c
Date Tue, 18 Jun 2002 03:13:25 GMT
jim         2002/06/17 20:13:25

  Modified:    src/ap   ap_strtol.c
  Log:
  Document that ap_strtol should only really
  be used with bases <19 because of EBCDIC.
  
  Revision  Changes    Path
  1.5       +3 -0      apache-1.3/src/ap/ap_strtol.c
  
  Index: ap_strtol.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/ap/ap_strtol.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ap_strtol.c	18 Jun 2002 02:07:00 -0000	1.4
  +++ ap_strtol.c	18 Jun 2002 03:13:25 -0000	1.5
  @@ -106,6 +106,9 @@
    *
    * 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)
  
  
  

Mime
View raw message