[前][次][番号順一覧][スレッド一覧]

ruby-changes:41024

From: hsbt <ko1@a...>
Date: Mon, 14 Dec 2015 11:51:39 +0900 (JST)
Subject: [ruby-changes:41024] hsbt:r53103 (trunk): * compile.c: fix typos.

hsbt	2015-12-14 11:51:13 +0900 (Mon, 14 Dec 2015)

  New Revision: 53103

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53103

  Log:
    * compile.c: fix typos.
      [ci skip][fix GH-1140] Patch by @jutaz
    * dir.c: ditto.
    * gc.c: ditto.
    * io.c: ditto.
    * node.h: ditto.
    * thread_pthread.c: ditto.
    * vm_insnhelper.c: ditto.
    * vsnprintf.c: ditto.

  Modified files:
    trunk/ChangeLog
    trunk/compile.c
    trunk/dir.c
    trunk/gc.c
    trunk/io.c
    trunk/node.h
    trunk/thread_pthread.c
    trunk/vm_insnhelper.c
    trunk/vsnprintf.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 53102)
+++ ChangeLog	(revision 53103)
@@ -1,3 +1,15 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Dec 14 11:31:00 2015  SHIBATA Hiroshi  <hsbt@r...>
+
+	* compile.c: fix typos.
+	  [ci skip][fix GH-1140] Patch by @jutaz
+	* dir.c: ditto.
+	* gc.c: ditto.
+	* io.c: ditto.
+	* node.h: ditto.
+	* thread_pthread.c: ditto.
+	* vm_insnhelper.c: ditto.
+	* vsnprintf.c: ditto.
+
 Mon Dec 14 11:27:01 2015  SHIBATA Hiroshi  <hsbt@r...>
 
 	* enc/iso_2022_jp.h: fix typos.
Index: thread_pthread.c
===================================================================
--- thread_pthread.c	(revision 53102)
+++ thread_pthread.c	(revision 53103)
@@ -520,7 +520,7 @@ size_t pthread_get_stacksize_np(pthread_ https://github.com/ruby/ruby/blob/trunk/thread_pthread.c#L520
 
 /*
  * As the PTHREAD_STACK_MIN is undefined and
- * noone touches the default stacksize,
+ * no one touches the default stacksize,
  * it is just fine to use the default.
  */
 #define pthread_attr_get_np(thid, attr) 0
Index: vsnprintf.c
===================================================================
--- vsnprintf.c	(revision 53102)
+++ vsnprintf.c	(revision 53103)
@@ -642,7 +642,7 @@ BSD_vfprintf(FILE *fp, const char *fmt0, https://github.com/ruby/ruby/blob/trunk/vsnprintf.c#L642
 	    flags&SHORTINT ? (u_long)(u_short)va_arg(ap, int) : \
 	    (u_long)va_arg(ap, u_int))
 
-	/* optimise fprintf(stderr) (and other unbuffered Unix files) */
+	/* optimize fprintf(stderr) (and other unbuffered Unix files) */
 	if ((fp->_flags & (__SNBF|__SWR|__SRW)) == (__SNBF|__SWR) &&
 	    fp->_file >= 0)
 		return (BSD__sbprintf(fp, fmt0, ap));
Index: io.c
===================================================================
--- io.c	(revision 53102)
+++ io.c	(revision 53103)
@@ -3121,7 +3121,7 @@ rb_io_getline_1(VALUE rs, long limit, VA https://github.com/ruby/ruby/blob/trunk/io.c#L3121
 	    newline = (unsigned char)rsptr[rslen - 1];
 	}
 
-	/* MS - Optimisation */
+	/* MS - Optimization */
 	while ((c = appendline(fptr, newline, &str, &limit)) != EOF) {
             const char *s, *p, *pp, *e;
 
Index: compile.c
===================================================================
--- compile.c	(revision 53102)
+++ compile.c	(revision 53103)
@@ -699,7 +699,7 @@ rb_iseq_original_iseq(const rb_iseq_t *i https://github.com/ruby/ruby/blob/trunk/compile.c#L699
 /*
  * On 32-bit SPARC, GCC by default generates SPARC V7 code that may require
  * 8-byte word alignment. On the other hand, Oracle Solaris Studio seems to
- * generate SPARCV8PLUS code with unaligned memory accesss instructions.
+ * generate SPARCV8PLUS code with unaligned memory access instructions.
  * That is why the STRICT_ALIGNMENT is defined only with GCC.
  */
 #if defined(__sparc) && SIZEOF_VOIDP == 4 && defined(__GNUC__)
Index: dir.c
===================================================================
--- dir.c	(revision 53102)
+++ dir.c	(revision 53103)
@@ -259,7 +259,7 @@ bracket( https://github.com/ruby/ruby/blob/trunk/dir.c#L259
     return ok == not ? NULL : (char *)p + 1;
 }
 
-/* If FNM_PATHNAME is set, only path element will be matched. (upto '/' or '\0')
+/* If FNM_PATHNAME is set, only path element will be matched. (up to '/' or '\0')
    Otherwise, entire string will be matched.
    End marker itself won't be compared.
    And if function succeeds, *pcur reaches end marker.
Index: gc.c
===================================================================
--- gc.c	(revision 53102)
+++ gc.c	(revision 53103)
@@ -211,7 +211,7 @@ static ruby_gc_params_t gc_params = { https://github.com/ruby/ruby/blob/trunk/gc.c#L211
  * 1: enable assertions (to debug RGenGC)
  * 2: enable internal consistency check at each GC (for debugging)
  * 3: enable internal consistency check at each GC steps (for debugging)
- * 4: enable livness check
+ * 4: enable liveness check
  * 5: show all references
  */
 #ifndef RGENGC_CHECK_MODE
@@ -5668,7 +5668,7 @@ gc_writebarrier_generational(VALUE a, VA https://github.com/ruby/ruby/blob/trunk/gc.c#L5668
     }
 
 #if 1
-    /* mark `a' and remember (default behaviour) */
+    /* mark `a' and remember (default behavior) */
     if (!rgengc_remembered(objspace, a)) {
 	rgengc_remember(objspace, a);
 	gc_report(1, objspace, "gc_writebarrier_generational: %s (remembered) -> %s\n", obj_info(a), obj_info(b));
Index: vm_insnhelper.c
===================================================================
--- vm_insnhelper.c	(revision 53102)
+++ vm_insnhelper.c	(revision 53103)
@@ -565,7 +565,7 @@ vm_get_const_key_cref(const VALUE *ep) https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L565
 	cref = CREF_NEXT(cref);
     }
 
-    /* does not incldue singleton class */
+    /* does not include singleton class */
     return NULL;
 }
 
Index: node.h
===================================================================
--- node.h	(revision 53102)
+++ node.h	(revision 53103)
@@ -261,7 +261,7 @@ typedef struct RNode { https://github.com/ruby/ruby/blob/trunk/node.h#L261
 
 #define RNODE(obj)  (R_CAST(RNode)(obj))
 
-/* FL     : 0..4: T_TYPES, 5: KEEP_WB, 6: PROMOTED, 7: FINALIZE, 8: TAINT, 9: UNTRUSTERD, 10: EXIVAR, 11: FREEZE */
+/* FL     : 0..4: T_TYPES, 5: KEEP_WB, 6: PROMOTED, 7: FINALIZE, 8: TAINT, 9: UNTRUSTED, 10: EXIVAR, 11: FREEZE */
 /* NODE_FL: 0..4: T_TYPES, 5: KEEP_WB, 6: PROMOTED, 7: NODE_FL_NEWLINE|NODE_FL_CREF_PUSHED_BY_EVAL,
  *          8..14: nd_type,
  *          15..: nd_line

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]