Re: Bug#214036: im: imput doesn't work with Perl 5.8.1

2003-10-21 Thread Tatsuya Kinoshita
On October 21, 2003 at 2:10PM +0200, Matthias Urlichs <[EMAIL PROTECTED]> wrote: > The general solution is not to use $! as an error indicator in perl. That > doesn't work reliably. I've modified the im pacakge not to use $! as an error indicator. I intend to include the following patch in the n

Re: Bug#214036: im: imput doesn't work with Perl 5.8.1

2003-10-21 Thread H. S. Teoh
On Tue, Oct 21, 2003 at 02:10:15PM +0200, Matthias Urlichs wrote: > Hi, Steve Kemp wrote: > > > The following change makes the code work as expected: > > Your change works as expected, but only because the file has just one line. > It's not a general solution. > > The general solution is not to

Re: Bug#214036: im: imput doesn't work with Perl 5.8.1

2003-10-21 Thread Matthias Urlichs
Hi, Steve Kemp wrote: > The following change makes the code work as expected: Your change works as expected, but only because the file has just one line. It's not a general solution. The general solution is not to use $! as an error indicator in perl. That doesn't work reliably. Likewise, you ca

Re: Bug#214036: im: imput doesn't work with Perl 5.8.1

2003-10-20 Thread Steve Kemp
On Tue, Oct 21, 2003 at 01:13:49AM +0900, Tatsuya Kinoshita wrote: > With the perl 5.8.1 package, the line input operator (<>) causes > "Bad file descriptor". This problem is reproducible by the > following sample code. > > > #!/usr/bin/perl > $file = "/etc/debian_version"; > open(FH, $fil

Re: Bug#214036: im: imput doesn't work with Perl 5.8.1

2003-10-20 Thread Tatsuya Kinoshita
Could anyone help me to fix Bug#214036 in the im package (mail/news handling utility written in Perl)? On October 4, 2003 at 2:06PM +0900, Tatsuya Kinoshita <[EMAIL PROTECTED]> wrote: > On October 4, 2003 at 12:59PM +0900, > Kenshi Muto <[EMAIL PROTECTED]> wrote: > > > I found `imput' didn't wor