apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/i18n/unix xlate.c
Date Sun, 25 Feb 2001 20:46:50 GMT
wrowe       01/02/25 12:46:50

  Modified:    file_io/unix readwrite.c
               i18n/unix xlate.c
  Log:
    Fix hand-patched typos (sorry guys)
  
  Revision  Changes    Path
  1.69      +1 -1      apr/file_io/unix/readwrite.c
  
  Index: readwrite.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/unix/readwrite.c,v
  retrieving revision 1.68
  retrieving revision 1.69
  diff -u -r1.68 -r1.69
  --- readwrite.c	2001/02/25 20:39:29	1.68
  +++ readwrite.c	2001/02/25 20:46:48	1.69
  @@ -281,7 +281,7 @@
                         apr_size_t nvec, apr_size_t *nbytes)
   {
   #ifdef HAVE_WRITEV
  -     int bytes;
  +    int bytes;
   
       if ((bytes = writev(thefile->filedes, vec, nvec)) < 0) {
           *nbytes = 0;
  
  
  
  1.23      +5 -5      apr/i18n/unix/xlate.c
  
  Index: xlate.c
  ===================================================================
  RCS file: /home/cvs/apr/i18n/unix/xlate.c,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- xlate.c	2001/02/25 20:39:30	1.22
  +++ xlate.c	2001/02/25 20:46:49	1.23
  @@ -95,7 +95,7 @@
       char *frompage;
       char *topage;
       char *sbcs_table;
  -#ifdev HAVE_ICONV
  +#ifdef HAVE_ICONV
       iconv_t ich;
   #endif
   };
  @@ -173,7 +173,7 @@
   
   static apr_status_t apr_xlate_cleanup(void *convset)
   {
  -#ifdev HAVE_ICONV
  +#ifdef HAVE_ICONV
       apr_xlate_t *old = convset;
   
       if (old->ich != (iconv_t)-1) {
  @@ -185,7 +185,7 @@
       return APR_SUCCESS;
   }
   
  -#ifdev HAVE_ICONV
  +#ifdef HAVE_ICONV
   static void check_sbcs(apr_xlate_t *convset)
   {
       char inbuf[256], outbuf[256];
  @@ -251,7 +251,7 @@
       set found to non-zero if found in the cache
   #endif
   
  -#ifdev HAVE_ICONV
  +#ifdef HAVE_ICONV
       if (!found) {
           new->ich = iconv_open(topage, frompage);
           if (new->ich == (iconv_t)-1) {
  @@ -287,7 +287,7 @@
                                      apr_size_t *outbytes_left)
   {
       apr_status_t status = APR_SUCCESS;
  -#ifdev HAVE_ICONV
  +#ifdef HAVE_ICONV
       size_t translated;
   
       if (convset->ich != (iconv_t)-1) {
  
  
  

Mime
View raw message