Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
2.12k stars 584 forks source link

Not OK: perl v5.7.0 +SUIDMAIL +DEVEL6855 on i686-linux-thread-multi 2.2.13 #2467

Closed p5pRT closed 21 years ago

p5pRT commented 24 years ago

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

Searchable as RT3904$

p5pRT commented 24 years ago

From @abigail

Warnings during compilation with -Dusethread​:

  Storable.xs​: In function `init_perinterp'​:   Storable.xs​:794​: warning​: pointer/integer type mismatch in conditional expression   Storable.xs​: In function `is_storing'​:   Storable.xs​:1069​: warning​: pointer/integer type mismatch in conditional expression   Storable.xs​: In function `is_retrieving'​:   Storable.xs​:1081​: warning​: pointer/integer type mismatch in conditional expression   Storable.xs​: In function `last_op_in_netorder'​:   Storable.xs​:1096​: warning​: pointer/integer type mismatch in conditional expression   Storable.xs​: In function `do_store'​:   Storable.xs​:2560​: warning​: pointer/integer type mismatch in conditional expression   Storable.xs​: In function `mbuf2sv'​:   Storable.xs​:2700​: warning​: pointer/integer type mismatch in conditional expression   Storable.xs​: In function `mstore'​:   Storable.xs​:2713​: warning​: pointer/integer type mismatch in conditional expression   Storable.xs​: In function `net_mstore'​:   Storable.xs​:2732​: warning​: pointer/integer type mismatch in conditional expression   Storable.xs​: In function `do_retrieve'​:   Storable.xs​:4191​: warning​: pointer/integer type mismatch in conditional expression   Storable.xs​: In function `dclone'​:   Storable.xs​:4382​: warning​: pointer/integer type mismatch in conditional expression   Storable.xs​:4410​: warning​: pointer/integer type mismatch in conditional expression

Abigail

Perl Info ``` Flags: category=install severity=none Site configuration information for perl v5.7.0: Configured by abigail at Mon Aug 28 04:08:51 EDT 2000. Summary of my perl5 (revision 5.0 version 7 subversion 0) configuration: Platform: osname=linux, osvers=2.2.13, archname=i686-linux-thread-multi uname='linux alexandra 2.2.13 #5 tue feb 8 15:37:54 est 2000 i686 unknown ' config_args='-Dcf_email=abigail@foad.org -Dperladmin=abigail@foad.org -Doptimize=-g -des -Uinstallusrbinperl -Dprefix=/opt/bleedperl -Dusedevel -Dusethreads' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=undef d_sfio=undef uselargefiles=define use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef Compiler: cc='cc', optimize='-g', gccversion=2.95.2 19991024 (release), gccosandvers= cppflags='-D_REENTRANT -DDEBUGGING -fno-strict-aliasing -I/usr/local/include' ccflags ='-D_REENTRANT -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' stdchar='char', d_stdstdio=define, usevfork=false 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=8 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lndbm -lgdbm -ldbm -ldb -ldl -lm -lpthread -lc -lposix -lcrypt -lutil libc=/lib/libc-2.1.2.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Locally applied patches: SUIDMAIL - fixes for suidperl security DEVEL6855 @INC for perl v5.7.0: /home/abigail/Perl /home/abigail/Sybase /opt/bleedperl/lib/5.7.0/i686-linux-thread-multi /opt/bleedperl/lib/5.7.0 /opt/bleedperl/lib/site_perl/5.7.0/i686-linux-thread-multi /opt/bleedperl/lib/site_perl/5.7.0 /opt/bleedperl/lib/site_perl . Environment for perl v5.7.0: HOME=/home/abigail LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH=/home/abigail/Lib:/usr/local/lib:/usr/lib:/lib:/usr/X11R6/lib:/opt/tcl/lib:/opt/tk/lib/tk8.0 LOGDIR (unset) PATH=/home/abigail/Bin:/opt/perl/bin:/opt/tcl/bin:/opt/tk/bin:/usr/local/bin:/usr/local/X11/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/games:/opt/povray/bin:/opt/teTeX/bin/i686-pc-linux-gnu:/opt/python/bin PERL5LIB=/home/abigail/Perl:/home/abigail/Sybase PERLDIR=/opt/perl PERL_BADLANG (unset) SHELL=/bin/bash ```
p5pRT commented 24 years ago

From [Unknown Contact. See original ticket]

Quoting abigail@​foad.org​: :Warnings during compilation with -Dusethread​: : : Storable.xs​: In function `init_perinterp'​: : Storable.xs​:794​: warning​: pointer/integer type mismatch in conditional expression

Can you please provide me with a patch to fix this? I don't use threads and the thread code was contributed by someone whose name escapes me right now\, but I believe was from Active State.

Raphael