diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-10 23:27:39 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-10 23:27:39 +0000 |
| commit | 9347df877d5059d16e73af00dad0467b3c84f318 (patch) | |
| tree | a6f2588c348d558af5e3e3d5d19a6fb1ca74bb85 | |
| parent | 2b83e46d592a96d9acf54fd65871d1ebaefe9ec6 (diff) | |
| download | ruby-9347df877d5059d16e73af00dad0467b3c84f318.tar.gz ruby-9347df877d5059d16e73af00dad0467b3c84f318.tar.xz ruby-9347df877d5059d16e73af00dad0467b3c84f318.zip | |
* ext/bigdecimal/lib/bigdecimal/newton.rb (Newton::nlsolve): typo
fixed: raize -> raise. [ruby-talk:196608]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 11 | ||||
| -rw-r--r-- | ext/bigdecimal/lib/bigdecimal/newton.rb | 2 | ||||
| -rw-r--r-- | lib/tempfile.rb | 2 |
3 files changed, 13 insertions, 2 deletions
@@ -1,8 +1,18 @@ +Sat Jun 10 18:02:40 2006 Yukihiro Matsumoto <matz@ruby-lang.org> + + * ext/bigdecimal/lib/bigdecimal/newton.rb (Newton::nlsolve): typo + fixed: raize -> raise. [ruby-talk:196608] + Thu Jun 8 14:19:17 2006 NAKAMURA Usaku <usa@ruby-lang.org> * win32/win32.[ch] (rb_w32_read, rb_w32_write): new functions. use recv() and send() when fd is socket. fixed: [ruby-dev:28694] +Wed Jun 7 16:22:51 2006 Yukihiro Matsumoto <matz@ruby-lang.org> + + * lib/tempfile.rb (Tempfile::make_tmpname): put dot between + basename and pid. [ruby-talk:196272] + Wed Jun 7 14:53:04 2006 NAKAMURA Usaku <usa@ruby-lang.org> * win32/win32.c (errmap): add some winsock errors. @@ -32,6 +42,7 @@ Wed Jun 7 10:45:10 2006 NAKAMURA Usaku <usa@ruby-lang.org> instead of socket(). ifs socket support is backported from trunk. +>>>>>>> 1.2673.2.1622 Wed Jun 7 09:14:44 2006 Yukihiro Matsumoto <matz@ruby-lang.org> * eval.c (rb_call0): binding for the return event hook should have diff --git a/ext/bigdecimal/lib/bigdecimal/newton.rb b/ext/bigdecimal/lib/bigdecimal/newton.rb index f88fabe5d..f1a55da78 100644 --- a/ext/bigdecimal/lib/bigdecimal/newton.rb +++ b/ext/bigdecimal/lib/bigdecimal/newton.rb @@ -60,7 +60,7 @@ module Newton begin fact *= p5 if fact < minfact then - raize "Failed to reduce function values." + raise "Failed to reduce function values." end for i in 0...n do x[i] = xs[i] - dx[i]*fact diff --git a/lib/tempfile.rb b/lib/tempfile.rb index 0e44e00d0..b885444b1 100644 --- a/lib/tempfile.rb +++ b/lib/tempfile.rb @@ -67,7 +67,7 @@ class Tempfile < DelegateClass(File) end def make_tmpname(basename, n) - sprintf('%s%d.%d', basename, $$, n) + sprintf('%s.%d.%d', basename, $$, n) end private :make_tmpname |
