ruby-changes:2243
From: ko1@a...
Date: 17 Oct 2007 17:40:36 +0900
Subject: [ruby-changes:2243] nobu - Ruby:r13734 (trunk): * ruby.c (proc_options): fixed reversed condition.
nobu 2007-10-17 17:39:33 +0900 (Wed, 17 Oct 2007)
New Revision: 13734
Modified files:
trunk/ChangeLog
trunk/ruby.c
Log:
* ruby.c (proc_options): fixed reversed condition. [ruby-core:12722]
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ruby.c?r1=13734&r2=13733
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13734&r2=13733
Index: ChangeLog
===================================================================
--- ChangeLog (revision 13733)
+++ ChangeLog (revision 13734)
@@ -1,3 +1,7 @@
+Wed Oct 17 17:39:31 2007 Nobuyoshi Nakada <nobu@r...>
+
+ * ruby.c (proc_options): fixed reversed condition. [ruby-core:12722]
+
Wed Oct 17 13:54:28 2007 Yukihiro Matsumoto <matz@r...>
* re.c (rb_reg_s_union): the last check was not complete.
Index: ruby.c
===================================================================
--- ruby.c (revision 13733)
+++ ruby.c (revision 13734)
@@ -785,7 +785,7 @@
}
}
else if (strncmp("encoding=", s, 9) == 0) {
- if (*(s += 9)) goto noencoding;
+ if (!*(s += 9)) goto noencoding;
goto encoding;
}
else if (strcmp("version", s) == 0)
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml