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/lib/apr/i18n/unix xlate.c
Date Tue, 23 May 2000 01:58:47 GMT
trawick     00/05/22 18:58:47

  Modified:    src/lib/apr/i18n/unix xlate.c
  Log:
  bug fix: ap_xlate_open() neglected to clear field sbcs_table
  in the newly-created ap_xlate_t structure... this led to a
  problem when sbcs_table wasn't NULL for a non-sbcs conversion
  
  Revision  Changes    Path
  1.4       +1 -1      apache-2.0/src/lib/apr/i18n/unix/xlate.c
  
  Index: xlate.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/i18n/unix/xlate.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- xlate.c	2000/05/10 19:45:31	1.3
  +++ xlate.c	2000/05/23 01:58:46	1.4
  @@ -185,7 +185,7 @@
           frompage = get_default_codepage();
       }
       
  -    new = (ap_xlate_t *)ap_palloc(pool, sizeof(ap_xlate_t));
  +    new = (ap_xlate_t *)ap_pcalloc(pool, sizeof(ap_xlate_t));
       if (!new) {
           return APR_ENOMEM;
       }
  
  
  

Mime
View raw message