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

* tool/file2lastrev.rb (VCS::SVN::get_revisions.): remind about

DOSISH, sometimes.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-04-16 07:51:18 +00:00
parent b62feb5e04
commit 565d22756b
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Fri Apr 16 16:51:14 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* tool/file2lastrev.rb (VCS::SVN::get_revisions.): remind about
DOSISH, sometimes.
Fri Apr 16 16:15:40 2010 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_repeated_permutation): new method added. a patch

View file

@ -61,8 +61,8 @@ class VCS
def self.get_revisions(path)
begin
nulldevice = '/dev/null'
if File.exist? nulldevice
nulldevice = %w[/dev/null NUL NIL: NL:].find {|dev| File.exist?(dev)}
if nulldevice
save_stderr = STDERR.dup
STDERR.reopen nulldevice, 'w'
end