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

* lib/tempfile.rb (Tempfile#callback): Debug information should be

output to stderr, not stdout; pointed out by akira yamada.
  cf. [ruby-dev:39072]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2009-08-28 11:41:13 +00:00
parent 83c5ebaecb
commit c6c6ab873e
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
Fri Aug 28 20:29:34 2009 Akinori MUSHA <knu@iDaemons.org>
* lib/tempfile.rb (Tempfile#callback): Debug information should be
output to stderr, not stdout; pointed out by akira yamada.
cf. [ruby-dev:39072]
Fri Aug 28 20:34:24 2009 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* ext/win32ole/win32ole.c: use SafeStringValue instead of

View file

@ -307,7 +307,7 @@ class Tempfile < DelegateClass(File)
if pid == $$
path, tmpfile, cleanlist = *data
print "removing ", path, "..." if $DEBUG
STDERR.print "removing ", path, "..." if $DEBUG
tmpfile.close if tmpfile
@ -317,7 +317,7 @@ class Tempfile < DelegateClass(File)
cleanlist.delete(path) if cleanlist
end
print "done\n" if $DEBUG
STDERR.print "done\n" if $DEBUG
end
}
end