mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-27 07:54:58 +00:00
Even more debug hacks.
This commit is contained in:
@@ -106,8 +106,11 @@ use Data::Dumper;
|
|||||||
$term->setcc( VTIME, 0 );
|
$term->setcc( VTIME, 0 );
|
||||||
$term->setattr( $fd_stdin, TCSANOW );
|
$term->setattr( $fd_stdin, TCSANOW );
|
||||||
unless ( $PerconaTest::DONT_RESTORE_STDIN ) {
|
unless ( $PerconaTest::DONT_RESTORE_STDIN ) {
|
||||||
warn Dumper($fd_stdin);
|
warn "*STDIN=", Dumper(*STDIN);
|
||||||
warn Dumper($flags);
|
warn "fd_stdin=", Dumper($fd_stdin);
|
||||||
|
warn "flags=", Dumper($flags);
|
||||||
|
warn "tell=",tell(STDIN), "\n";
|
||||||
|
warn `ls -l /proc/$PID/*`, "\n";
|
||||||
fcntl(STDIN, F_SETFL, $flags)
|
fcntl(STDIN, F_SETFL, $flags)
|
||||||
or warn "can't fcntl F_SETFL: $!";
|
or warn "can't fcntl F_SETFL: $!";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user