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

ruby-changes:21963

From: nobu <ko1@a...>
Date: Mon, 12 Dec 2011 15:41:20 +0900 (JST)
Subject: [ruby-changes:21963] nobu:r34011 (trunk): * ext/stringio/stringio.c (strio_truncate): fix typo. patched by

nobu	2011-12-12 15:41:05 +0900 (Mon, 12 Dec 2011)

  New Revision: 34011

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

  Log:
    * ext/stringio/stringio.c (strio_truncate): fix typo.  patched by
      Nick Howard <ndh AT baroquebobcat.com>.
      https://github.com/ruby/ruby/pull/65

  Modified files:
    trunk/ChangeLog
    trunk/ext/stringio/stringio.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 34010)
+++ ChangeLog	(revision 34011)
@@ -1,3 +1,9 @@
+Mon Dec 12 15:41:03 2011  Nobuyoshi Nakada  <nobu@r...>
+
+	* ext/stringio/stringio.c (strio_truncate): fix typo.  patched by
+	  Nick Howard <ndh AT baroquebobcat.com>.
+	  https://github.com/ruby/ruby/pull/65
+
 Sun Dec 11 12:19:17 2011  Shugo Maeda  <shugo@r...>
 
 	* lib/net/imap.rb: includes the sequence number of UID in a error
Index: ext/stringio/stringio.c
===================================================================
--- ext/stringio/stringio.c	(revision 34010)
+++ ext/stringio/stringio.c	(revision 34011)
@@ -1341,7 +1341,7 @@
     long l = NUM2LONG(len);
     long plen = RSTRING_LEN(string);
     if (l < 0) {
-	error_inval("negative legnth");
+	error_inval("negative length");
     }
     rb_str_resize(string, l);
     if (plen < l) {

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

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