Perl / perl5

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

PerlIO breaks Term-ReadLine-Perl and ReadKey #3517

Closed p5pRT closed 19 years ago

p5pRT commented 23 years ago

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

Searchable as RT5961$

p5pRT commented 23 years ago

From jarausch@numa1.igpm.rwth-aachen.de

Using the (now default) PerlIO layer I get compiler warnings when building e.g. Term-ReadLine-Perl-0.9908 A value of type "PerlIO *" cannot be assigned to an entity of type "FILE *" and furthermore a segment fault when running make test The same applies to TermReadKey-2.14 and as consequence my perl debugger hangs

I've never encountered any problems while using STDIO.

Perl Info ``` Flags: category=core severity=medium Site configuration information for perl v5.7.0: Configured by jarausch at Wed Feb 28 13:36:55 CST 2001. Summary of my perl5 (revision 5.0 version 7 subversion 0) configuration: Platform: osname=irix, osvers=6.5, archname=IP26-irix uname='irix64 numa1 6.5 07201611 ip26 ' config_args='-Dcc=cc -Dprefix=/usr/LOCAL -Ud_casti32 -Dlocincpth=/usr/LOCAL/include -Dloclibpth=/usr/LOCAL/lib' hint=previous, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-D_BSD_TYPES -D_BSD_TIME -I/usr/LOCAL/include -DLANGUAGE_C', optimize='-O3 -OPT:Olimit=0:space=on -mips4', cppflags='-D_BSD_TYPES -D_BSD_TIME -I/usr/LOCAL/include -DLANGUAGE_C' ccversion='', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='cc', ldflags =' -Wl,-woff,84 -L/usr/LOCAL/lib' libpth=/usr/LOCAL/lib /usr/lib32 /lib32 libs=-lgdbm -ldb -lm -lc perllibs=-lm -lc libc=/usr/lib32/libc.so, so=so, useshrplib=true, libperl=libperl.so Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-rpath,/usr/LOCAL/lib/perl5/5.7.0/IP26-irix/CORE' cccdlflags='-KPIC', lddlflags='-shared -L/usr/LOCAL/lib' Locally applied patches: DEVEL8956 @INC for perl v5.7.0: /usr/LOCAL/lib/perl5/5.7.0/IP26-irix /usr/LOCAL/lib/perl5/5.7.0 /usr/LOCAL/lib/perl5/site_perl/5.7.0/IP26-irix /usr/LOCAL/lib/perl5/site_perl/5.7.0 /usr/LOCAL/lib/perl5/site_perl . Environment for perl v5.7.0: HOME=/usr/people/jarausch LANG=C LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=.:/usr/people/jarausch/bin:/usr/PRIVATE/bin:/usr/LOCAL/bin:/usr/LOCAL/teTeX/bin:/usr/bin:/usr/java/bin:/usr/bsd:/bin:/usr/bin/X11:/usr/local/bin:/usr/local/bin/X11:/usr/sbin:/usr/demos/bin PERL_BADLANG (unset) SHELL=/bin/zsh ```
p5pRT commented 23 years ago

From @andk

On Mon\, 5 Mar 2001 10​:16​:48 +0100 (CST)\, jarausch@​numa1.igpm.rwth-aachen.de said​:

  > This is a bug report for perl from jarausch@​igpm.rwth-aachen.de\,   > generated with the help of perlbug 1.33 running under perl v5.7.0.

  > -----------------------------------------------------------------   > [Please enter your report here]   > Using the (now default) PerlIO layer I get compiler warnings   > when building e.g. Term-ReadLine-Perl-0.9908   > A value of type "PerlIO *" cannot be assigned to an entity of type "FILE *"   > and furthermore a segment fault when running make test   > The same applies to TermReadKey-2.14   > and as consequence my perl debugger hangs

  > I've never encountered any problems while using STDIO.

Patch has been posted here before by Nick. Search the archive for this posting​:

  From​: \nick@​ing\-simmons\.net   Subject​: Re​: Patch 8359 (perlio) breaks Term​::ReadKey   To​: andreas.koenig@​anima.de   Cc​: Nick Ing-Simmons \nick@​ing\-simmons\.net\,   The Perl5 Porters Mailing List \perl5\-porters@​perl\.org\,   Kenneth Albanowski \kjahds@​kjahds\.com   Date​: Sun\, 28 Jan 2001 22​:22​:17 +0000

p5pRT commented 23 years ago

From [Unknown Contact. See original ticket]

"Andreas J. Koenig" wrote​:

On Mon\, 5 Mar 2001 10​:16​:48 +0100 (CST)\, jarausch@​numa1.igpm.rwth-aachen.de said​:

This is a bug report for perl from jarausch@​igpm.rwth-aachen.de\, generated with the help of perlbug 1.33 running under perl v5.7.0.

----------------------------------------------------------------- [Please enter your report here] Using the (now default) PerlIO layer I get compiler warnings when building e.g. Term-ReadLine-Perl-0.9908 A value of type "PerlIO *" cannot be assigned to an entity of type "FILE *" and furthermore a segment fault when running make test The same applies to TermReadKey-2.14 and as consequence my perl debugger hangs

I've never encountered any problems while using STDIO.

Patch has been posted here before by Nick. Search the archive for this posting​:

From&#8203;: \<nick@&#8203;ing\-simmons\.net>
Subject&#8203;: Re&#8203;: Patch 8359 \(perlio\) breaks Term&#8203;::ReadKey
To&#8203;: andreas\.koenig@&#8203;anima\.de
Cc&#8203;: Nick Ing\-Simmons \<nick@&#8203;ing\-simmons\.net>\,
        The Perl5 Porters Mailing    List \<perl5\-porters@&#8203;perl\.org>\,
        Kenneth Albanowski \<kjahds@&#8203;kjahds\.com>
Date&#8203;: Sun\, 28 Jan 2001 22&#8203;:22&#8203;:17 \+0000

Unfortunately\, applying it to TermReadKey-2.14\, I get lots of patch failures. Which version does it apply to?

p5pRT commented 19 years ago

From @smpeters

[RT_System - Sun Mar 04 17​:52​:26 2001]​:

On Mon\, 5 Mar 2001 10​:16​:48 +0100 (CST)\, jarausch@​numa1.igpm.rwth-aachen.de said​:

This is a bug report for perl from jarausch@​igpm.rwth-aachen.de\, generated with the help of perlbug 1.33 running under perl v5.7.0.

----------------------------------------------------------------- [Please enter your report here] Using the (now default) PerlIO layer I get compiler warnings when building e.g. Term-ReadLine-Perl-0.9908 A value of type "PerlIO *" cannot be assigned to an entity of type "FILE *" and furthermore a segment fault when running make test The same applies to TermReadKey-2.14 and as consequence my perl debugger hangs

I've never encountered any problems while using STDIO.

Patch has been posted here before by Nick. Search the archive for this posting​:

From&#8203;: \<nick@&#8203;ing\-simmons\.net>
Subject&#8203;: Re&#8203;: Patch 8359 \(perlio\) breaks Term&#8203;::ReadKey
To&#8203;: andreas\.koenig@&#8203;anima\.de
Cc&#8203;: Nick Ing\-Simmons \<nick@&#8203;ing\-simmons\.net>\,
        The Perl5 Porters Mailing    List \<perl5\-

porters@​perl.org>\, Kenneth Albanowski \kjahds@&#8203;kjahds\.com Date​: Sun\, 28 Jan 2001 22​:22​:17 +0000

Resolved.

p5pRT commented 19 years ago

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