зеркало из https://github.com/github/ruby.git
* 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:
Родитель
835d90b94e
Коммит
3efb9e43b6
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
|
Загрузка…
Ссылка в новой задаче