Skip Menu |

This queue is for tickets about the Term-ReadLine-Gnu CPAN distribution.

Maintainer(s)' notes

When you report a bug, please provide the following information;

- output of
	perl -V
	perl Makefile.PL verbose
	make test TEST_VERBOSE=1
	perl -Mblib t/00checkver.t
	echo $TERM
- terminal emulator which you are using
- compiler which is used to compile the GNU Readline Library (libreadline.a) if you can know.
Read INSTALL in the distribution for more details.

Report information
The Basics
Id: 61626
Status: resolved
Priority: 0/
Queue: Term-ReadLine-Gnu

People
Owner: Nobody in particular
Requestors: HAYASHI [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.20
Fixed in: 1.21



Subject: Cannot compileTerm-ReadLine-Gnu 1.20 with Perl 5.8.5 or before
I've opened this ticket to share a fix which will be included in the next release.
On 2010-9月-25 土 08:27:31, HAYASHI wrote: Show quoted text
> I've opened this ticket to share a fix which will be included in the > next release.
Apply the following patch. (Or use Term-ReadLine-Gnu 1.19.) *** Gnu.xs 2010-05-02 19:34:41+09 1.114 --- Gnu.xs 2010-09-25 21:45:02+09 *************** *** 1984,1990 **** --- 1984,1995 ---- /* from perl.c:perl_destruct() */ #if defined(USE_ENVIRON_ARRAY) && !defined(PERL_USE_SAFE_PUTENV) \ && !defined(PERL_DARWIN) + # if ((PERL_VERSION > 8) || (PERL_VERSION == 8 && PERL_SUBVERSION >= 6)) + /* Perl 5.8.6 introduced PL_use_safe_putenv. */ if (environ != PL_origenviron && !PL_use_safe_putenv + # else + if (environ != PL_origenviron + # endif # ifdef USE_ITHREADS /* only main thread can free environ[0] contents */ && PL_curinterp == aTHX
This fix is included in 1.21.