Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

merge revision(s) 17074:

	* util.c (ruby_strtod): ruby_strtod don't allow a trailing
	  decimal point like "7.". [ruby-dev:34835] [ruby-dev:35009]


git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@17652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
commit 926372c32a1247c7d43bd5c48b09e2533ca8e54f 1 parent 17601d8
@shyouhei shyouhei authored
Showing with 11 additions and 4 deletions.
  1. +5 −0 ChangeLog
  2. +2 −0  util.c
  3. +4 −4 version.h
View
5 ChangeLog
@@ -1,3 +1,8 @@
+Sun Jun 29 17:09:48 2008 wanabe <s.wanabe@gmail.com>
+
+ * util.c (ruby_strtod): ruby_strtod don't allow a trailing
+ decimal point like "7.". [ruby-dev:34835] [ruby-dev:35009]
+
Sat Jun 28 19:23:40 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
* class.c (clone_method): use rb_copy_node_scope.
View
2  util.c
@@ -2171,6 +2171,8 @@ ruby_strtod(const char *s00, char **se)
}
#endif
if (c == '.') {
+ if (!ISDIGIT(s[1]))
+ goto dig_done;
c = *++s;
if (!nd) {
for (; c == '0'; c = *++s)
View
8 version.h
@@ -1,15 +1,15 @@
#define RUBY_VERSION "1.8.7"
-#define RUBY_RELEASE_DATE "2008-06-28"
+#define RUBY_RELEASE_DATE "2008-06-29"
#define RUBY_VERSION_CODE 187
-#define RUBY_RELEASE_CODE 20080628
-#define RUBY_PATCHLEVEL 23
+#define RUBY_RELEASE_CODE 20080629
+#define RUBY_PATCHLEVEL 24
#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 8
#define RUBY_VERSION_TEENY 7
#define RUBY_RELEASE_YEAR 2008
#define RUBY_RELEASE_MONTH 6
-#define RUBY_RELEASE_DAY 28
+#define RUBY_RELEASE_DAY 29
#ifdef RUBY_EXTERN
RUBY_EXTERN const char ruby_version[];
Please sign in to comment.
Something went wrong with that request. Please try again.