Project

General

Profile

Actions

Backport #1485

closed

warning in pathname when verbose mode

Added by znz (Kazuhiro NISHIYAMA) over 15 years ago. Updated over 13 years ago.

Status:
Rejected
[ruby-dev:38488]

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

pathname_warning.patch (322 Bytes) pathname_warning.patch patch for pathname warning. JohnCarter (John Carter), 01/12/2010 06:45 AM
Actions #1

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

Actions #2

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

Actions #3

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

Actions #4

Updated by adamsalter (Adam Salter) about 15 years ago

=begin
Has this gone into 1.9.1?
=end

Actions #5

Updated by yugui (Yuki Sonoda) almost 15 years ago

  • Status changed from Assigned to Rejected

=begin
warning抑制はマージしません。
=end

Actions #6

Updated by JohnCarter (John Carter) almost 15 years ago

=begin
Still present in...
ruby-1.8.7-p249.tar.bz2
ruby-1.9.1-p378.tar.bz2

Attached one line patch fixes...
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0