Posted on 2006-05-05 11:51:15-07 by rgiersig in response to 2178
Re: Expect 1.15 'make test' hainging, 'Use of uninitialized value in ioctl'
OK, this error message is benign and will be fixed in the next IO::Pty version (coming up soon). The hangup is related to a missing close-on-exec flag on a pipe filehandle in Expect and will also be fixed like this:
*** Expect-1.15/Expect.pm Tue Mar 19 12:59:29 2002 --- Expect-1.16/Expect.pm Fri May 5 13:30:06 2006 *************** *** 104,109 **** --- 104,112 ---- # set up pipe to detect childs exec error pipe(STAT_RDR, STAT_WTR) or die "Cannot open pipe: $!"; STAT_WTR->autoflush(1); + eval { + fcntl(STAT_WTR, F_SETFD, FD_CLOEXEC); + }; my $pid = fork;
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.