randy       97/01/26 16:16:20

  Modified:    src       CHANGES mod_imap.c
  Log:
  Allow whitespace in imagemap mapfile coordinates.
  Reviewed by: Roy Fielding, Brian Behlendorf, Jim Jagielski
  
  Revision  Changes    Path
  1.137     +2 -0      apache/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache/src/CHANGES,v
  retrieving revision 1.136
  retrieving revision 1.137
  diff -C3 -r1.136 -r1.137
  *** CHANGES   1997/01/26 01:15:11     1.136
  --- CHANGES   1997/01/27 00:16:17     1.137
  ***************
  *** 1,5 ****
  --- 1,7 ----
    Changes with Apache 1.2b5
    
  +   *) Allow whitespace in imagemap mapfile coordinates. [Marc Slemko]
  + 
      *) Change KeepAlive semantics (On|Off instead of a number), add
         MaxKeepAliveRequests directive. [Alexei Kosut]
    
  
  
  
  1.17      +3 -1      apache/src/mod_imap.c
  
  Index: mod_imap.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_imap.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -C3 -r1.16 -r1.17
  *** mod_imap.c        1997/01/20 09:02:54     1.16
  --- mod_imap.c        1997/01/27 00:16:18     1.17
  ***************
  *** 720,726 ****
    
        vertex = 0;
        while ( vertex < MAXVERTS &&  
  !      sscanf(string_pos, "%lf,%lf",
         &pointarray[vertex][X], &pointarray[vertex][Y])   == 2)
        {
        /* Now skip what we just read... we can't use ANSIism %n */
  --- 720,726 ----
    
        vertex = 0;
        while ( vertex < MAXVERTS &&  
  !      sscanf(string_pos, "%lf, %lf",
         &pointarray[vertex][X], &pointarray[vertex][Y])   == 2)
        {
        /* Now skip what we just read... we can't use ANSIism %n */
  ***************
  *** 729,734 ****
  --- 729,736 ----
        while(isdigit(*string_pos))     /* and the 1st number */
            string_pos++;
        string_pos++;                   /* skip the ',' */
  +     while(isspace(*string_pos))     /* past any more whitespace */
  +         string_pos++;
        while(isdigit(*string_pos))     /* 2nd number */
            string_pos++;
        vertex++;
  
  
  

Reply via email to