httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/file_io/os2 readwrite.c
Date Sat, 08 Apr 2000 07:30:34 GMT
bjh         00/04/08 00:30:34

  Modified:    src/lib/apr/file_io/os2 readwrite.c
  Log:
  OS/2: Add a kludgy implementation of ap_ungetc().
  
  Revision  Changes    Path
  1.20      +2 -2      apache-2.0/src/lib/apr/file_io/os2/readwrite.c
  
  Index: readwrite.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/os2/readwrite.c,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- readwrite.c	2000/04/08 06:58:39	1.19
  +++ readwrite.c	2000/04/08 07:30:34	1.20
  @@ -220,8 +220,8 @@
   
   ap_status_t ap_ungetc(char ch, ap_file_t *thefile)
   {
  -    /* Not sure what to do in this case.  For now, return SUCCESS. */
  -    return APR_SUCCESS;
  +    ap_off_t offset = -1;
  +    return ap_seek(thefile, APR_CUR, &offset);
   }
   
   
  
  
  

Mime
View raw message