httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@locus.apache.org
Subject cvs commit: apache-1.3/src/main buff.c
Date Sat, 04 Mar 2000 20:51:03 GMT
martin      00/03/04 12:51:03

  Modified:    src/main buff.c
  Log:
  As per suggestion of Greg Stein and Paul Gilmartin, I change the misleading
  ascii_CRLF definition to what they effectively already were: a name for
  the constant "\015\012", regardless of whether on a EBCDIC or ASCII based
  machine. In contrast, the CRLF macro depends on the code set because it
  is sent thru the EBCDIC->ASCII conversion routines.
  
  Revision  Changes    Path
  1.96      +0 -4      apache-1.3/src/main/buff.c
  
  Index: buff.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/buff.c,v
  retrieving revision 1.95
  retrieving revision 1.96
  diff -u -r1.95 -r1.96
  --- buff.c	2000/03/02 21:23:39	1.95
  +++ buff.c	2000/03/04 20:51:02	1.96
  @@ -82,11 +82,7 @@
   #define CHUNK_HEADER_SIZE (5)
   #endif
   
  -#ifdef CHARSET_EBCDIC
   #define ascii_CRLF "\015\012" /* A CRLF which won't pass the conversion machinery */
  -#else
  -#define ascii_CRLF CRLF
  -#endif
   
   /* bwrite()s of greater than this size can result in a large_write() call,
    * which can result in a writev().  It's a little more work to set up the
  
  
  

Mime
View raw message