Project

General

Profile

Actions

Backport #1863

closed

Dir.tmpdir warning on Windows

Added by djberg96 (Daniel Berger) over 14 years ago. Updated almost 13 years ago.

Status:
Rejected
[ruby-core:24694]

Description

=begin
Windows Vista Home Premium

Dir.tmpdir emits a warning. Please fix:

Warning:c:/ruby19/lib/ruby/1.9.1/tmpdir.rb:14: Win32API is deprecated after Ruby 1.9.1; use dl directly instead
=end

Actions #1

Updated by usa (Usaku NAKAMURA) over 14 years ago

  • Assignee set to usa (Usaku NAKAMURA)
  • Priority changed from Normal to 3

=begin

=end

Actions #2

Updated by mame (Yusuke Endoh) about 14 years ago

  • Status changed from Open to Feedback

=begin
Hi,

I guess this was already fixed at r26952 but I cannot confirm.
Could you (or anyone) check on windows?

--
Yusuke Endoh
=end

Actions #3

Updated by wanabe (_ wanabe) about 14 years ago

=begin

I guess this was already fixed at r26952 but I cannot confirm.

Yes, you are right.

$ ./ruby -v -I ../lib/ -I .ext/ -I .ext/common/ -rtmpdir -e 'p Dir.tmpdir'
ruby 1.9.2dev (2010-03-16 trunk 26952) [i386-mingw32]
"C:/Users/HOME/AppData/Local/Temp"

$ cd ../../r26951/out/

$ ./ruby -v -I ../lib/ -I .ext/ -I .ext/common/ -rtmpdir -e 'p Dir.tmpdir'
ruby 1.9.2dev (2010-03-16 trunk 26951) [i386-mingw32]
Warning:e:/home/ruby/trunk/r26951/lib/tmpdir.rb:15: Win32API is deprecated after
Ruby 1.9.1; use dl directly instead
"C:/Users/HOME/AppData/Local/Temp"
=end

Actions #4

Updated by yugui (Yuki Sonoda) almost 14 years ago

  • Status changed from Feedback to Rejected

=begin
r26952 is too large to merge into 1.9.1. And I don't want to change 1.9.1 just for suppress a warning.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0