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

B::Lint 1.03 misses B::SPECIAL::lintcv #8395

Closed
p5pRT opened this issue Apr 7, 2006 · 6 comments
Closed

B::Lint 1.03 misses B::SPECIAL::lintcv #8395

p5pRT opened this issue Apr 7, 2006 · 6 comments

Comments

@p5pRT
Copy link

p5pRT commented Apr 7, 2006

Migrated from rt.perl.org#38875 (status was 'open')

Searchable as RT38875$

@p5pRT
Copy link
Author

p5pRT commented Apr 7, 2006

From @rurban

This is a bug report for perl from rurban@​cpan.org,
generated with the help of perlbug 1.35 running under perl v5.8.6 (MSWin32)
and 5.8.7 (cygwin).


B​::Lint 1.03 misses the definition for B​::SPECIAL​::lintcv

I silenced that by adding

sub B::SPECIAL::lintcv {
my $sv = shift;
warn sprintf("B::SPECIAL::lintcv: %s (done=%d)\n",
$sv, $done_cv{$$sv});
}

This is probably not the right thing to do, but without I couldn't
Lint most of my scripts.

Sorry, no short testcase, but should be
obvious, because the new B​::SPECIAL class is used in other
B modules as well, but not handled in B​::Lint.

Perl Info
-----------------------------------------------------------------
---
Flags:
category=core
severity=medium
---
Site configuration information for perl v5.8.6:

Configured by builder at Mon Dec 13 09:51:32 2004.

Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
Platform:
osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cl', ccflags ='-nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
-D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFIX',
optimize='-MD -Zi -DNDEBUG -O1',
cppflags='-DWIN32'
ccversion='', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
ivtype='long', ivsize=4, nvtype='double', nvsize=8,
Off_t='__int64', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf
-libpath:"D:\XEmacs\ActivePerl-5.8.6.811\Perl\lib\CORE" -machine:x86'
libpth=\lib
libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib
netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib
odbc32.lib odbccp32.lib msvcrt.lib
perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib
oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib
version.lib odbc32.lib odbccp32.lib msvcrt.lib
libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib
gnulibc_version='undef'
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug
-opt:ref,icf -libpath:"D:\XEmacs\ActivePerl-5.8.6.811\Perl\lib\CORE"
-machine:x86'

Locally applied patches:
ACTIVEPERL_LOCAL_PATCHES_ENTRY
21540 Fix backward-compatibility issues in if.pm
23565 Wrong MANIFEST.SKIP

---
@INC for perl v5.8.6:
D:/XEmacs/ActivePerl-5.8.6.811/Perl/lib
D:/XEmacs/ActivePerl-5.8.6.811/Perl/site/lib
.

---
Environment for perl v5.8.6:
CYGWIN=server
HOME (unset)
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=D:\XEmacs\ActivePerl-5.8.6.811\Perl\bin;D:\XEmacs\MICROS~1\msdev98\BIN;D:\XEmacs\MICROS~1\VC98\BIN;D:\XEmacs\MICROS~1\Common\TOOLS\WINNT;D:\XEmacs\MICROS~1\Common\TOOLS;C:\Program
Files\CA\pec\bin;C:\oracle\ora92\bin;C:\Program
Files\Oracle\jre\1.3.1\bin;C:\oracle\ora92\jre\1.4.2\bin\client;C:\oracle\ora92\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\ATI Technologies\ATI Control
Panel;C:\PROGRA~1\ATT\Graphviz\bin;C:\PROGRA~1\ATT\Graphviz\bin\tools;D:\XEmacs\cygwin\usr\bin;D:\XEmacs\PSDK\Bin\.;D:\XEmacs\PSDK\Bin\WinNT\.;C:\Program
Files\CA\CCC_Harvest;D:\XEmacs\cygwin\bin;D:\XEmacs\cygwin\usr\local\bin;D:\XEmacs\PSDK\Bin\.;D:\XEmacs\PSDK\Bin\WinNT\.
PERL_BADLANG (unset)
SHELL (unset)

=====================================================================
Site configuration information for perl v5.8.7:

Configured by gerrit at Fri Dec 30 02:40:15 2005.

Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=cygwin, osvers=1.5.18(0.13242), archname=cygwin-thread-multi-64int
uname='cygwin_nt-5.1 inspiron 1.5.18(0.13242) 2005-07-02 20:30
i686 unknown unknown cygwin '
config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads
-Uusemymalloc -Doptimize=-O3 -Dman3ext=3pm -Dusesitecustom
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing
-pipe -I/usr/local/include',
optimize='-O3',
cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-I/usr/local/include'
ccversion='', gccversion='3.4.4 (cygming special) (gdc 0.12, using
dmd 0.125)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='ld2', ldflags =' -s -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lgdbm -ldb -lcrypt -lgdbm_compat
perllibs=-lcrypt -lgdbm_compat
libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'

Locally applied patches:
SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962

---
@INC for perl v5.8.7:
/usr/lib/perl5/5.8/cygwin
/usr/lib/perl5/5.8
/usr/lib/perl5/site_perl/5.8/cygwin
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/site_perl/5.8/cygwin
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/vendor_perl/5.8/cygwin
/usr/lib/perl5/vendor_perl/5.8
/usr/lib/perl5/vendor_perl/5.8/cygwin
/usr/lib/perl5/vendor_perl/5.8
.

---
Environment for perl v5.8.7:
CYGWIN=server
HOME=/home/URBANR
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/Program
Files/CA/pec/bin:/cygdrive/c/oracle/ora92/bin:
PERL_BADLANG (unset)
SHELL (unset)

--
Reini Urban
http​://phpwiki.org/
http​://spacemovie.mur.at/ http​://helsinki.at/

@p5pRT
Copy link
Author

p5pRT commented Aug 2, 2006

From @smpeters

On Fri Apr 07 06​:27​:30 2006, rurban wrote​:

This is a bug report for perl from rurban@​cpan.org,
generated with the help of perlbug 1.35 running under perl v5.8.6
(MSWin32)
and 5.8.7 (cygwin).

-----------------------------------------------------------------
B​::Lint 1.03 misses the definition for B​::SPECIAL​::lintcv

I silenced that by adding

sub B​::SPECIAL​::lintcv {
my $sv = shift;
warn sprintf("B​::SPECIAL​::lintcv​: %s (done=%d)\n",
$sv, $done_cv{$$sv});
}

This is probably not the right thing to do, but without I couldn't
Lint most of my scripts.

Sorry, no short testcase, but should be
obvious, because the new B​::SPECIAL class is used in other
B modules as well, but not handled in B​::Lint.

I think that this may have been fixed already, but I need to
double-check this.

@p5pRT
Copy link
Author

p5pRT commented Aug 2, 2006

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

@p5pRT
Copy link
Author

p5pRT commented Jan 10, 2007

From guest@guest.guest.xxxxxxxx

I'm using ActivePerl 5.8.8 and I'm seeing this problem. Do you know
if there is a fix available for this?

-sckerr

On Wed Aug 02 12​:16​:02 2006, stmpeters wrote​:

On Fri Apr 07 06​:27​:30 2006, rurban wrote​:

This is a bug report for perl from rurban@​cpan.org,
generated with the help of perlbug 1.35 running under perl v5.8.6
(MSWin32)
and 5.8.7 (cygwin).

-----------------------------------------------------------------
B​::Lint 1.03 misses the definition for B​::SPECIAL​::lintcv

I silenced that by adding

sub B​::SPECIAL​::lintcv {
my $sv = shift;
warn sprintf("B​::SPECIAL​::lintcv​: %s (done=%d)\n",
$sv, $done_cv{$$sv});
}

This is probably not the right thing to do, but without I couldn't
Lint most of my scripts.

Sorry, no short testcase, but should be
obvious, because the new B​::SPECIAL class is used in other
B modules as well, but not handled in B​::Lint.

I think that this may have been fixed already, but I need to
double-check this.

@p5pRT
Copy link
Author

p5pRT commented Jul 12, 2016

From @dcollinsn

A commenter believes this was fixed a decade ago. Can someone familiar with B​::Lint comment, and determine whether a regression test is appropriate?

--
Respectfully,
Dan Collins

@toddr
Copy link
Member

toddr commented Jan 31, 2020

Given B::Lint is no longer in core, I think this case can be closed.

@toddr toddr closed this as completed Jan 31, 2020
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

2 participants