ruby-changes:24249
From: naruse <ko1@a...>
Date: Wed, 4 Jul 2012 10:32:50 +0900 (JST)
Subject: [ruby-changes:24249] naruse:r36300 (ruby_1_9_3): Fix previous commit.
naruse 2012-07-04 10:32:38 +0900 (Wed, 04 Jul 2012) New Revision: 36300 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36300 Log: Fix previous commit. Modified files: branches/ruby_1_9_3/file.c branches/ruby_1_9_3/version.h Index: ruby_1_9_3/version.h =================================================================== --- ruby_1_9_3/version.h (revision 36299) +++ ruby_1_9_3/version.h (revision 36300) @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.3" -#define RUBY_PATCHLEVEL 251 +#define RUBY_PATCHLEVEL 252 #define RUBY_RELEASE_DATE "2012-07-04" #define RUBY_RELEASE_YEAR 2012 Index: ruby_1_9_3/file.c =================================================================== --- ruby_1_9_3/file.c (revision 36299) +++ ruby_1_9_3/file.c (revision 36300) @@ -3456,9 +3456,10 @@ { long l2; - if (!e || !l2) return 0; + if (!e) return 0; l2 = strlen(e); + if (!l2) return 0; if (l2 == 2 && e[1] == '*') { unsigned char c = *e; e = p + l1; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/