httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/main buff.c
Date Wed, 25 Oct 2000 15:26:37 GMT
trawick     00/10/25 08:26:37

  Modified:    src/main buff.c
  Log:
  EBCDIC: get protocol data written via checked_putstrs() converted
  to ASCII; note that this code is going to go poof! at any time, so
  this is a short-term fix
  
  Revision  Changes    Path
  1.67      +10 -0     apache-2.0/src/main/buff.c
  
  Index: buff.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/buff.c,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -u -r1.66 -r1.67
  --- buff.c	2000/10/16 06:04:51	1.66
  +++ buff.c	2000/10/25 15:26:36	1.67
  @@ -1148,6 +1148,16 @@
   	if (x == NULL)
   	    break;
   	j = strlen(x);
  +#ifdef CHARSET_EBCDIC
  +        /* XXX tmp hack to get output of checked_putstrs() converted
  +         * to ASCII; we'll stop using this path pretty soon, so this
  +         * is really temporary.
  +         *
  +         * This function is only used for protocol data which needs to
  +         * be translated to ASCII.
  +         */
  +        ap_bsetopt(fb, BO_WXLATE, &ap_hdrs_to_ascii);
  +#endif
   	rv = ap_bwrite(fb, x, j, &i);
   	if (i != j) {
               fb->berrno = rv;
  
  
  

Mime
View raw message