Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Storable module #7604

Closed
p5pRT opened this issue Nov 19, 2004 · 4 comments
Closed

Fix for Storable module #7604

p5pRT opened this issue Nov 19, 2004 · 4 comments

Comments

@p5pRT
Copy link

p5pRT commented Nov 19, 2004

Migrated from rt.perl.org#32503 (status was 'resolved')

Searchable as RT32503$

@p5pRT
Copy link
Author

p5pRT commented Nov 19, 2004

From shirsch@adelphia.net

Created by shirsch@adelphia.net

To make Storable do what it claims and properly obey the
$Storable​::accept_future_minor variable, this needs to happen
(apparently not fixed in 5.8.3 either)​:

Inline Patch
--- perl-5.8.0/ext/Storable/Storable.xs.orig	Sat Nov 13 17:27:53 2004
+++ perl-5.8.0/ext/Storable/Storable.xs	Sat Nov 13 17:28:11 2004
@@ -1092,6 +1092,7 @@
 
     cxt->netorder = 0;		/* true if network order used */
     cxt->forgive_me = -1;	/* whether to be forgiving... */
+    cxt->accept_future_minor = -1; /* would otherwise occur too late */
 }
 
 /*
Perl Info

Flags:
    category=library
    severity=medium

Site configuration information for perl v5.8.3:

Configured by hirsch at Sat Nov 13 12:14:47 EST 2004.

Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.6.8-24.3-mts-smp, archname=i686-linux
    uname='linux monarch 2.6.8-24.3-mts-smp #6 smp thu nov 11 20:30:56 est 2004 i686 athlon i386 gnulinux '
    config_args='-Dinstallusrbinperl=no -Dprefix=/net/ips/work/contrib/linux.i386 -Dbin=/net/ips/work/contrib/linux.i386/bin-5.8.3 -Dsitebin=/net/ips/work/contrib/linux.i386/bin-5.8.3 -Duselargefiles=no -Duse64bitint=no -Duse64bitall=no -Ui_db -Ud_flock -Dperladmin=hirschs@btv.ibm.com -des'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=undef usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include',
    optimize='-O3',
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='3.3.4 (pre 3.3.5 20040809)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.3.3'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    


@INC for perl v5.8.3:
    /net/ips/work/contrib/linux.i386/lib/perl5/5.8.3/i686-linux
    /net/ips/work/contrib/linux.i386/lib/perl5/5.8.3
    /net/ips/work/contrib/linux.i386/lib/perl5/site_perl/5.8.3/i686-linux
    /net/ips/work/contrib/linux.i386/lib/perl5/site_perl/5.8.3
    /net/ips/work/contrib/linux.i386/lib/perl5/site_perl/5.8.0/i686-linux
    /net/ips/work/contrib/linux.i386/lib/perl5/site_perl/5.8.0
    /net/ips/work/contrib/linux.i386/lib/perl5/site_perl
    .


Environment for perl v5.8.3:
    HOME=/home/hirsch
    LANG=en_US.UTF-8
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/net/ips/work/contrib/Linux/bin:/net/ips/work/bin:/home/hirsch/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/sbin:/usr/sbin:/usr/local/sbin
    PERL_BADLANG (unset)
    SHELL=/bin/bash

@p5pRT
Copy link
Author

p5pRT commented Jan 21, 2005

From @rgs

Steven N. Hirsch wrote​:

To make Storable do what it claims and properly obey the
$Storable​::accept_future_minor variable, this needs to happen
(apparently not fixed in 5.8.3 either)​:

--- perl-5.8.0/ext/Storable/Storable.xs.orig Sat Nov 13 17​:27​:53 2004
+++ perl-5.8.0/ext/Storable/Storable.xs Sat Nov 13 17​:28​:11 2004

Thanks, applied as change #23852 to the development version of perl.

@p5pRT
Copy link
Author

p5pRT commented Jan 21, 2005

The RT System itself - Status changed from 'new' to 'open'

@p5pRT p5pRT closed this as completed Jan 21, 2005
@p5pRT
Copy link
Author

p5pRT commented Jan 21, 2005

@rgs - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant