two tweaks for clean build and test on Solaris
Gurusamy Sarathy [Thu, 24 Sep 1998 10:29:54 +0000 (10:29 +0000)]
p4raw-id: //depot/perl@1877

op.c
t/op/subst.t

diff --git a/op.c b/op.c
index 9b2284d..b6e2499 100644 (file)
--- a/op.c
+++ b/op.c
@@ -131,6 +131,7 @@ pad_allocmy(char *name)
        for (off = AvFILLp(PL_comppad_name); off > PL_comppad_name_floor; off--) {
            if ((sv = svp[off])
                && sv != &PL_sv_undef
+               && (SvIVX(sv) == 999999999 || SvIVX(sv) == 0)
                && strEQ(name, SvPVX(sv)))
            {
                warner(WARN_UNSAFE,
index 81cafec..d224165 100755 (executable)
@@ -1,5 +1,7 @@
 #!./perl
 
+BEGIN { @INC = ('../lib') }
+
 print "1..71\n";
 
 $x = 'foo';