Front page | perl.perl5.porters |
Postings from July 2001
[ID 20010703.008] PADTMP set, but not READONLY, on non-writeablearg to function
Thread Next
From:
jpinyan
Date:
July 3, 2001 09:59
Subject:
[ID 20010703.008] PADTMP set, but not READONLY, on non-writeablearg to function
Message ID:
200107031658.MAA20942@sushi.riskgrades.com
This is a bug report for perl from japhy@pobox.com,
generated with the help of perlbug 1.28 running under perl v5.6.0.
-----------------------------------------------------------------
[Please enter your report here]
I don't get told I can't change $_[0] here. I really think I should.
sub foo { $_[0] = 1 }
foo($_ . 'x');
It runs without a hitch.
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=core
severity=medium
---
Site configuration information for perl v5.6.0:
Configured by root at Tue Feb 6 18:31:14 EST 2001.
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.7, archname=sun4-solaris
uname='sunos sushi 5.7 generic_106541-14 sun4u sparc sunw,ultra-60 '
config_args='-Dcc=gcc -Doptimize=-O2'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=undef
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='gcc', optimize='-O2', gccversion=2.95.2 19991024 (release)
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccflags ='-fno-strict-aliasing -I/usr/local/include'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc -lcrypt -lsec
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
Locally applied patches:
---
@INC for perl v5.6.0:
/export/home/jpinyan/lib
/usr/local/apache/riskgrades/modules
/export/home/jpinyan/CVS/asset_allocator/modules
/usr/local/lib/perl5/5.6.0/sun4-solaris
/usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.0
/usr/local/lib/perl5/site_perl
.
---
Environment for perl v5.6.0:
HOME=/export/home/jpinyan
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH=/usr/local/oracle/lib
LOGDIR (unset)
PATH=/usr/local/bin:/usr/openwin/bin:/usr/bin:/usr/local/oracle/bin:.:/export/home/jpinyan/bin
PERL5LIB=/export/home/jpinyan/lib:/usr/local/apache/riskgrades/modules:/export/home/jpinyan/CVS/asset_allocator/modules
PERL_BADLANG (unset)
SHELL=/bin/tcsh
Thread Next
-
[ID 20010703.008] PADTMP set, but not READONLY, on non-writeablearg to function
by jpinyan