diff options
author | Larry Wall <lwall@jpl-devvax.jpl.nasa.gov> | 1990-03-13 23:33:04 +0000 |
---|---|---|
committer | Larry Wall <lwall@jpl-devvax.jpl.nasa.gov> | 1990-03-13 23:33:04 +0000 |
commit | 63f2c1e106a2635d888c6b582f4c59b5c0ecc7ee (patch) | |
tree | 8f937b14482c666265f81797ebd4f122c8260cfb /lib | |
parent | 79a0689e17f959bdb246dc37bbbbfeba4c2b3b56 (diff) | |
download | perl-63f2c1e106a2635d888c6b582f4c59b5c0ecc7ee.tar.gz |
perl 3.0 patch #15 (combined patch)
In patch 13, there was a fix to make the VAR=value construct
in a command force interpretation by the shell. This was botched,
causing an argv list to be occasionally allocated with too small
a size. This problem is hidden on some machines because of
BSD malloc's semantics.
The lib/dumpvar.pl file was missing final 1; which made it
difficult to tell if it loaded right.
The lib/termcap.pl Tgetent subroutine didn't interpret ^x right
due to a missing ord().
In the section of the man page that gives hints for C programmers,
it falsely declared that you can't subscript array values. As of
patch 13, this statement is "inoperative".
The t/op.sleep test assumed that a sleep of 2 seconds would always
return a value of 2 seconds slept. Depending on the load and
the whimsey of the scheduler, it could actually sleep longer than
2 seconds upon occasion. It now allows sleeps of up to 10 seconds.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dumpvar.pl | 2 | ||||
-rw-r--r-- | lib/termcap.pl | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/dumpvar.pl b/lib/dumpvar.pl index 8a49ec09e7..b8cff8952c 100644 --- a/lib/dumpvar.pl +++ b/lib/dumpvar.pl @@ -26,3 +26,5 @@ sub main'dumpvar { } } } + +1; diff --git a/lib/termcap.pl b/lib/termcap.pl index a92b71456c..35b5ec0655 100644 --- a/lib/termcap.pl +++ b/lib/termcap.pl @@ -1,4 +1,4 @@ -;# $Header: termcap.pl,v 3.0.1.1 90/02/28 17:46:44 lwall Locked $ +;# $Header: termcap.pl,v 3.0.1.2 90/03/14 12:28:28 lwall Locked $ ;# ;# Usage: ;# do 'ioctl.pl'; @@ -70,7 +70,7 @@ sub Tgetent { s/\\f/\f/g; s/\\\^/\377/g; s/\^\?/\177/g; - s/\^(.)/pack('c',$1 & 31)/eg; + s/\^(.)/pack('c',ord($1) & 31)/eg; s/\\(.)/$1/g; s/\377/^/g; $TC{$entry} = $_ if $TC{$entry} eq ''; |