Package: libruby1.8
Version: 1.8.7.249-1
Severity: minor
Tags: patch

ruby1.8 interpriter has reported a warning in /usr/lib/ruby/1.8/pathname.rb.
Run as follows:

% ruby1.8 -w -e 'require "pathname"'
/usr/lib/ruby/1.8/pathname.rb:263: warning: `*' interpreted as argument prefix

Following patch will fix this problem.

--- /tmp/pathname.rb.orig       2010-01-24 14:01:09.348404783 +0900
+++ /usr/lib/ruby/1.8/pathname.rb       2010-01-24 14:01:46.000000000
+0900
@@ -260,7 +260,7 @@
         ensure
           Thread.current[:pathname_sub_matchdata] = old
         end
-        yield *args
+        yield(*args)
       }
     else
       path = @path.sub(pattern, *rest)

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32.2-k8 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libruby1.8 depends on:
ii  libc6                   2.10.2-5         Embedded GNU C Library: Shared lib
ii  libncurses5             5.7+20090803-2   shared libraries for terminal hand
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

libruby1.8 recommends no packages.

libruby1.8 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to