Re: truncate with file name does not work (with patch)
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>
Wed, 28 Aug 1996 02:37:41 +0000 (02:37 +0000)
committerAndy Dougherty <doughera@lafcol.lafayette.edu>
Wed, 28 Aug 1996 02:37:41 +0000 (02:37 +0000)
commit9b01e405a9bb7e4ded558565e812624f7c7f28fe
treef9d2830c11c9276c971343ebf74b02f1d2962e2d
parentb5470100d305ad04c1e682dd4b1a313c58003e2a
Re: truncate with file name does not work (with patch)

The prototype for truncate was changed so that perl won't die
with C<use strict;> when the first arg is a bareword (filehandle).
I think it was Tom (as in "tchrist") who brought this up.

Here's a patch that undoes the damage, makes it work with
C<use strict;>, and adds to the testsuite.
opcode.pl
toke.c