Project

General

Profile

This project is closed and read-only.

Actions

Backport #1863

closed

Dir.tmpdir warning on Windows

Backport #1863: Dir.tmpdir warning on Windows

Added by djberg96 (Daniel Berger) about 17 years ago. Updated over 15 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

Updated by usa (Usaku NAKAMURA) about 17 years ago Actions #1

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

=begin

=end

Updated by mame (Yusuke Endoh) over 16 years ago Actions #2

  • 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

Updated by wanabe (_ wanabe) over 16 years ago Actions #3

=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

Updated by yugui (Yuki Sonoda) over 16 years ago Actions #4

  • 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: PDF Atom