On Wed, 03 Sep 2008 22:25:10 -0700 Stas Bekman wrote:imacat wrote:
Dear Stas Bekman,
Thank you for the patch imacat from Taiwan - would please be so kind to
try the attached version?
It works. The terminal log is attached below. Please tell me if
you need any more information, or if I could be of any help.
imacat@rinse /tmp % tar xzf /tmp/Env-C-0.08.tar.gz
imacat@rinse /tmp % cd Env-C-0.08
imacat@rinse /tmp/Env-C-0.08 % /opt/perl/5.10.0/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Env::C
imacat@rinse /tmp/Env-C-0.08 % make
cp C.pm blib/lib/Env/C.pm
Please specify prototyping behavior for C.xs (see perlxs manual)
In file included from C.xs:4:
/opt/perl/5.10.0/lib/5.10.0/x86_64-linux-thread-multi-ld/CORE/XSUB.h:130:1: warning: "dAX" redefined
In file included from C.xs:3:
ppport.h:3771:1: warning: this is the location of the previous definition
In file included from C.xs:4:
/opt/perl/5.10.0/lib/5.10.0/x86_64-linux-thread-multi-ld/CORE/XSUB.h:132:1: warning: "dAXMARK" redefined
In file included from C.xs:3:
ppport.h:3781:1: warning: this is the location of the previous definition
In file included from C.xs:4:
/opt/perl/5.10.0/lib/5.10.0/x86_64-linux-thread-multi-ld/CORE/XSUB.h:136:1: warning: "dITEMS" redefined
In file included from C.xs:3:
ppport.h:3775:1: warning: this is the location of the previous definition
In file included from C.xs:4:
/opt/perl/5.10.0/lib/5.10.0/x86_64-linux-thread-multi-ld/CORE/XSUB.h:147:1: warning: "dXSTARG" redefined
In file included from C.xs:3:
ppport.h:3778:1: warning: this is the location of the previous definition
In file included from C.xs:4:
/opt/perl/5.10.0/lib/5.10.0/x86_64-linux-thread-multi-ld/CORE/XSUB.h:169:1: warning: "dUNDERBAR" redefined
In file included from C.xs:3:
ppport.h:3764:1: warning: this is the location of the previous definition
In file included from C.xs:4:
/opt/perl/5.10.0/lib/5.10.0/x86_64-linux-thread-multi-ld/CORE/XSUB.h:170:1: warning: "UNDERBAR" redefined
In file included from C.xs:3:
ppport.h:3768:1: warning: this is the location of the previous definition
Running Mkbootstrap for Env::C ()
Manifying blib/man3/Env::C.3
imacat@rinse /tmp/Env-C-0.08 % make test
1..5
ok 1 - getenv matches perl ENV for USER
# unsetting an env
# getting it
ok 2 - USER is no longer set in C env
# called setenv
# [USER] expecting 'foobar', got 'foobar'
ok 3
# [USER] expecting 'imacat', got 'imacat'
ok 4
# 39 env entries
ok 5
imacat@rinse /tmp/Env-C-0.08 % echo $?
imacat@rinse /tmp/Env-C-0.08 %