1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/fileutils.rb (mv): should remove file after copying. [ruby-dev:28223]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
aamine 2006-01-19 13:22:13 +00:00
parent 835d90b94e
commit 3efb9e43b6
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Thu Jan 19 22:19:18 2006 Minero Aoki <aamine@loveruby.net>
* lib/fileutils.rb (mv): should remove file after copying.
[ruby-dev:28223]
Wed Jan 18 23:37:06 2006 Tanaka Akira <akr@m17n.org>
* eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): don't clobber %l7 of SPARC

View file

@ -500,6 +500,7 @@ module FileUtils
File.rename s, d
rescue Errno::EXDEV
copy_entry s, d, true
File.unlink s
end
rescue SystemCallError
raise unless options[:force]