httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/support htcacheclean.c
Date Sat, 06 Nov 2004 21:49:31 GMT
nd          2004/11/06 13:49:31

  Modified:    support  htcacheclean.c
  Log:
  more native newlines
  
  Revision  Changes    Path
  1.6       +13 -12    httpd-2.0/support/htcacheclean.c
  
  Index: htcacheclean.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/htcacheclean.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -u -r1.5 -r1.6
  --- htcacheclean.c	6 Nov 2004 21:38:24 -0000	1.5
  +++ htcacheclean.c	6 Nov 2004 21:49:31 -0000	1.6
  @@ -163,7 +163,7 @@
       /* stat and printing to simulate some deletion system load and to
          display what would actually have happened */
       apr_stat(&info, pathname, DIRINFO, p);
  -    apr_file_printf(errfile, "would delete %s\n", pathname);
  +    apr_file_printf(errfile, "would delete %s" APR_EOL_STR, pathname);
   }
   #endif
   
  @@ -173,7 +173,7 @@
   static void setterm(int unused)
   {
   #ifdef DEBUG
  -    apr_file_printf(errfile, "interrupt\n");
  +    apr_file_printf(errfile, "interrupt" APR_EOL_STR);
   #endif
       interrupted = 1;
   }
  @@ -231,7 +231,7 @@
           max /= KBYTE;
       }
   
  -    apr_file_printf(errfile, "Statistics:\n");
  +    apr_file_printf(errfile, "Statistics:" APR_EOL_STR);
       if (unsolicited) {
           utype = 'K';
           ufrag = ((unsolicited * 10) / KBYTE) % 10;
  @@ -244,16 +244,17 @@
           if (!unsolicited && !ufrag) {
               ufrag = 1;
           }
  -        apr_file_printf(errfile, "unsolicited size %d.%d%c\n",
  +        apr_file_printf(errfile, "unsolicited size %d.%d%c" APR_EOL_STR,
                           (int)(unsolicited), (int)(ufrag), utype);
        }
  -     apr_file_printf(errfile, "size limit %d.0%c\n", (int)(max), mtype);
  +     apr_file_printf(errfile, "size limit %d.0%c" APR_EOL_STR,
  +                     (int)(max), mtype);
        apr_file_printf(errfile, "total size was %d.%d%c, total size now "
  -                              "%d.%d%c\n",
  +                              "%d.%d%c" APR_EOL_STR,
                        (int)(total), (int)(tfrag), ttype, (int)(sum),
                        (int)(sfrag), stype);
  -     apr_file_printf(errfile, "total entries was %d, total entries now %d\n",
  -                     (int)(etotal), (int)(entries));
  +     apr_file_printf(errfile, "total entries was %d, total entries now %d"
  +                              APR_EOL_STR, (int)(etotal), (int)(entries));
   }
   
   /*
  @@ -946,8 +947,8 @@
                   purge(path, instance, max);
               }
               else if (!isdaemon && !interrupted) {
  -                apr_file_printf(errfile,
  -                     "An error occurred, cache cleaning aborted.\n");
  +                apr_file_printf(errfile, "An error occurred, cache cleaning "
  +                                         "aborted." APR_EOL_STR);
                   return 1;
               }
   
  @@ -1005,8 +1006,8 @@
       } while (isdaemon && !interrupted);
   
       if (!isdaemon && interrupted) {
  -        apr_file_printf(errfile,
  -                        "Cache cleaning aborted due to user request.\n");
  +        apr_file_printf(errfile, "Cache cleaning aborted due to user "
  +                                 "request." APR_EOL_STR);
           return 1;
       }
   
  
  
  

Mime
View raw message