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/modules/standard mod_include.c
Date Sun, 11 Jun 2000 14:04:53 GMT
ben         00/06/11 07:04:53

  Modified:    src/modules/standard mod_include.c
  Log:
  Do printf formatting properly.
  
  Revision  Changes    Path
  1.37      +1 -5      apache-2.0/src/modules/standard/mod_include.c
  
  Index: mod_include.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_include.c,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- mod_include.c	2000/06/10 18:51:24	1.36
  +++ mod_include.c	2000/06/11 14:04:52	1.37
  @@ -1193,11 +1193,7 @@
                   }
                   else {
                       int l, x;
  -#if defined(AP_OFF_T_IS_QUAD)
  -                    ap_snprintf(tag, sizeof(tag), "%qd", finfo.size);
  -#else
  -                    ap_snprintf(tag, sizeof(tag), "%ld", (long)finfo.size);
  -#endif
  +                    ap_snprintf(tag, sizeof(tag), "%" APR_OFF_T_FMT, finfo.size);
                       l = strlen(tag);    /* grrr */
                       for (x = 0; x < l; x++) {
                           if (x && (!((l - x) % 3))) {
  
  
  

Mime
View raw message