[comp.lang.perl] PL44 bugs

dbc@tc.fluke.COM (Dan Carson) (01/31/91)

A couple of bugs in 3.0.1.10 patch level 44:

#! /usr/local/perl
# A big input file not terminated with a newline makes
# this program dump core, e.g. :
# echo -n "hi" | cat /etc/termcap - | this_prog
while(<>)
  {
   eof();
   eof;
  }


Also, in 'look.pl', the "dictionary order" flag, $dict, is
missing from the 'local(...)=@_;' statement.


Dan Carson               "I wonder how different the universe would be, if
dbc@tc.fluke.com          only Carl Sagan and Ann Jillian had been closer."

dbc@tc.fluke.COM (Dan Carson) (02/21/91)

A couple of bugs in 3.0.1.10 patch level 44:

The debugger won't take 'do' from the keyboard.  It confuses it with
the 'd' debugger command.  In testing this, I saw an unrelated anamoly:


  DB<1> do 'look.pl'
  DB<2> &look
Undefined subroutine "main'look" called at /usr/local/lib/perl/perldb.pl line 508.

  DB<3> require 'look.pl'

  DB<4> &look
Segmentation fault (core dumped)
perl> 



Also, I previously posted the following, but it didn't seem to get past
the large Seattle-area company beginning with a 'B' :

#! /usr/local/perl
# A big input file not terminated with a newline makes
# this program dump core, e.g. :
# echo -n "hi" | cat /etc/termcap - | this_prog
while(<>)
  {
   eof();
   eof;
  }


Also, in 'look.pl', the "dictionary order" flag, $dict, is
missing from the 'local(...)=@_;' statement.


Dan Carson               "This PERL I cast before thee."
dbc@tc.fluke.com

tchrist@convex.COM (Tom Christiansen) (02/21/91)

From the keyboard of dbc@tc.fluke.COM (Dan Carson):
:
:A couple of bugs in 3.0.1.10 patch level 44:
:
:The debugger won't take 'do' from the keyboard.  It confuses it with
:the 'd' debugger command.  In testing this, I saw an unrelated anamoly:

Likewise flock is taken to be 'f lock'.

--tom
-- 
"UNIX was not designed to stop you from doing stupid things, because
 that would also stop you from doing clever things" -- Doug Gwyn

 Tom Christiansen                tchrist@convex.com      convex!tchrist

lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) (02/21/91)

In article <1991Feb20.201357.3984@convex.com> tchrist@convex.COM (Tom Christiansen) writes:
: From the keyboard of dbc@tc.fluke.COM (Dan Carson):
: :
: :A couple of bugs in 3.0.1.10 patch level 44:
: :
: :The debugger won't take 'do' from the keyboard.  It confuses it with
: :the 'd' debugger command.  In testing this, I saw an unrelated anamoly:
: 
: Likewise flock is taken to be 'f lock'.

You'll find that that is fixed in the beta.

Larry