You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2013/02/14 00:06:01 UTC

svn commit: r1445972 - in /tomcat/native/trunk/native: build/lineends.pl configure.in os/unix/system.c src/network.c

Author: rjung
Date: Wed Feb 13 23:06:00 2013
New Revision: 1445972

URL: http://svn.apache.org/r1445972
Log:
Fix typos in comments and output messages.
PR 54558
Submitted by ville dot skytta at iki dot fi.

Modified:
    tomcat/native/trunk/native/build/lineends.pl
    tomcat/native/trunk/native/configure.in
    tomcat/native/trunk/native/os/unix/system.c
    tomcat/native/trunk/native/src/network.c

Modified: tomcat/native/trunk/native/build/lineends.pl
URL: http://svn.apache.org/viewvc/tomcat/native/trunk/native/build/lineends.pl?rev=1445972&r1=1445971&r2=1445972&view=diff
==============================================================================
--- tomcat/native/trunk/native/build/lineends.pl (original)
+++ tomcat/native/trunk/native/build/lineends.pl Wed Feb 13 23:06:00 2013
@@ -31,7 +31,7 @@
 use IO::File;
 use File::Find;
 
-# The ignore list is '-' seperated, with this leading hyphen and
+# The ignore list is '-' separated, with this leading hyphen and
 # trailing hyphens in ever concatinated list below.
 $ignore = "-";
 

Modified: tomcat/native/trunk/native/configure.in
URL: http://svn.apache.org/viewvc/tomcat/native/trunk/native/configure.in?rev=1445972&r1=1445971&r2=1445972&view=diff
==============================================================================
--- tomcat/native/trunk/native/configure.in (original)
+++ tomcat/native/trunk/native/configure.in Wed Feb 13 23:06:00 2013
@@ -260,7 +260,7 @@ if test -d $srcdir/test; then
 fi
 
 dnl
-dnl everthing is done.
+dnl everything is done.
 MAKEFILES="Makefile"
 AC_OUTPUT([
     tcnative.pc

Modified: tomcat/native/trunk/native/os/unix/system.c
URL: http://svn.apache.org/viewvc/tomcat/native/trunk/native/os/unix/system.c?rev=1445972&r1=1445971&r2=1445972&view=diff
==============================================================================
--- tomcat/native/trunk/native/os/unix/system.c (original)
+++ tomcat/native/trunk/native/os/unix/system.c Wed Feb 13 23:06:00 2013
@@ -147,7 +147,7 @@ TCN_IMPLEMENT_CALL(jint, OS, info)(TCN_S
             if (sys_clk_tck >= 0) {
                 /* Get total CPU times from /proc/stat */
                 /* Example for the first line: cpu  2095497 8176 3280198 908667841 1543576 28867 375399 0 0 */
-                /* Accoring to the man pages, the numbers are given in units of USER_HZ:
+                /* According to the man pages, the numbers are given in units of USER_HZ:
                  * user mode, user mode with low priority (nice), system mode, and the idle task.
                  * Additional values can be ignored. */
                 fd = open("/proc/stat", O_RDONLY);

Modified: tomcat/native/trunk/native/src/network.c
URL: http://svn.apache.org/viewvc/tomcat/native/trunk/native/src/network.c?rev=1445972&r1=1445971&r2=1445972&view=diff
==============================================================================
--- tomcat/native/trunk/native/src/network.c (original)
+++ tomcat/native/trunk/native/src/network.c Wed Feb 13 23:06:00 2013
@@ -69,8 +69,8 @@ void sp_network_dump_statistics()
     fprintf(stderr, "Last receive error      : %d\n", sp_erl_recv);
 
     fprintf(stderr, "Total sendfile calls    : %d\n", sf_num_send);
-    fprintf(stderr, "Minimum sendfile lenght : %" APR_SIZE_T_FMT "\n", sf_min_send);
-    fprintf(stderr, "Maximum sendfile lenght : %" APR_SIZE_T_FMT "\n", sf_max_send);
+    fprintf(stderr, "Minimum sendfile length : %" APR_SIZE_T_FMT "\n", sf_min_send);
+    fprintf(stderr, "Maximum sendfile length : %" APR_SIZE_T_FMT "\n", sf_max_send);
 
 }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org