Package: libparsetree-ruby1.8
Version: 2.2.1-1
Severity: normal
Tags: patch

With the Ruby1.8-Update from 1.8.7 p72 to 1.8.7.174, libparstree has a problem 
with
ranges:

With 1.8.7 p72 (Lenny):

$ ruby -e "require 'parse_tree' ; puts ParseTree.translate('1..2')"
lit
1..2

With 1.8.7 p174 (Sid/Squeeze):

$ ruby truby -e "require 'parse_tree' ; puts ParseTree.translate('1..2')"
lit
1..2
140571832247520

I could track down the code in ParseTree, that causes this problem and
isolated a bugfix from the upstream's SVN. Please see the attached patch.

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.29-2-amd64

Debian Release: squeeze/sid
  900 testing         www.debian-multimedia.org 
  900 testing         security.debian.org 
  900 testing         ftp.de.debian.org 
  500 stable          ftp.de.debian.org 
  100 unstable        ftp.debian.org 

--- Package information. ---
Depends                (Version) | Installed
================================-+-===========
libinline-ruby1.8                | 3.6.7-1
ruby1.8                          | 1.8.7.174-1


Package's Recommends field is empty.

Package's Suggests field is empty.



Attachment: 30_fix_for_ruby_1.8.7.160.dpatch
Description: application/shellscript

Reply via email to