Backport #1485
closedwarning in pathname when verbose mode
Description
=begin
verbose mode で pathname を require すると warning がでます。
% ruby-trunk -v -r pathname -e ''
ruby 1.9.2dev (2009-05-15 trunk 23433) [i686-linux]
/home/kazu/opt/ruby-trunk/lib/ruby/1.9.1/pathname.rb:273: warning: *' interpreted as argument prefix % ruby-1.9.1 -v -r pathname -e '' ruby 1.9.1p129 (2009-05-12 revision 23411) [i686-linux] /home/kazu/opt/ruby-1.9.1/lib/ruby-1.9.1/1.9.1/pathname.rb:270: warning:
' interpreted as argument prefix
% ruby18 -v -r pathname -e ''
ruby 1.8.8dev (2009-05-15 revision 23432) [i686-linux]
/home/kazu/opt/ruby18/lib/ruby/1.8/pathname.rb:263: warning: `' interpreted as argument prefix
% ruby-1.8.7 -v -r pathname -e ''
ruby 1.8.7 (2009-04-08 patchlevel 160) [i686-linux]
% ruby-1.8.6 -v -r pathname -e ''
ruby 1.8.6 (2009-03-31 patchlevel 368) [i686-linux]
%
=end
Files
Updated by akr (Akira Tanaka) over 15 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r23483.
=end
Updated by sunaku (Suraj Kurapati) about 15 years ago
=begin
This bug still occurs in Ruby 1.9.1p243:
ruby -v -r pathname -e ''
ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-linux]
/usr/lib/ruby/1.9.1/pathname.rb:270: warning: `*' interpreted as argument prefix
ruby -r pathname -e ''
Thanks for your consideration.
=end
Updated by nobu (Nobuyoshi Nakada) about 15 years ago
- Status changed from Closed to Assigned
- Assignee changed from akr (Akira Tanaka) to yugui (Yuki Sonoda)
=begin
=end
Updated by adamsalter (Adam Salter) about 15 years ago
=begin
Has this gone into 1.9.1?
=end
Updated by yugui (Yuki Sonoda) almost 15 years ago
- Status changed from Assigned to Rejected
=begin
warning抑制はマージしません。
=end
Updated by JohnCarter (John Carter) almost 15 years ago
- File pathname_warning.patch pathname_warning.patch added
=begin
Still present in...
ruby-1.8.7-p249.tar.bz2
ruby-1.9.1-p378.tar.bz2
Attached one line patch fixes...
=end