• Bug#265411: libtangram-perl: Type in 'Tangram/Storage.pm' can break the

    From Daniel Pittman@1:229/2 to All on Fri Aug 13 03:50:06 2004
    From: [email protected]

    Package: libtangram-perl
    Version: 2.04-3.1
    Severity: important

    On a system that has 'Scalar::Util' installed, the Tangram/Storage.pm
    module will use the routine 'Scalar::Util::weaken' to produce weak
    references.

    Unfortunately, there is a typo in the code that does this, resulting in
    an undefined function call when that package is installed.

    This patch corrects the problem.

    Daniel

    --- Storage.pm.orig 2004-08-13 11:27:42.000000000 +1000
    +++ Storage.pm 2004-08-13 11:27:49.000000000 +1000
    @@ -24,7 +24,7 @@
    }
    }
    else {
    - *Tangram::weaken = \&Scalr::Util::weaken;
    + *Tangram::weaken = \&Scalar::Util::weaken;
    $Tangram::no_weakrefs = 0;
    }
    }


    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: i386 (i686)
    Kernel: Linux 2.6.7-rc3-enki
    Locale: LANG=C, LC_CTYPE=C

    Versions of packages libtangram-perl depends on:
    ii libdbi-perl 1.43-1 The Perl5 Database Interface by Ti ii libset-object-perl 1.05-1 Collection of objects without dupl ii perl 5.8.4-2 Larry Wall's Practical Extraction

    -- no debconf information

    --
    Using English spelling rules, 'fish' could be spelled 'ghoti' --
    'gh' as in 'cough', 'o' as in 'women', and 'ti' as in 'station'.
    -- George Bernard Shaw


    --
    To UNSUBSCRIBE, email to deb