# HG changeset patch # User Yoshiki Yazawa # Date 1272597677 -32400 # Node ID 2a944f0c15c5023a0c698738674a180afa099877 # Parent 1c4558d1a449c6353f518c23c892ca5e6f5f4314# Parent c729a68415ebb7459a0ad1c536413fe68c2b8b81 merged from upstream diff -r 1c4558d1a449 -r 2a944f0c15c5 recorder.php --- a/recorder.php Sun Apr 18 22:48:48 2010 +0900 +++ b/recorder.php Fri Apr 30 12:21:17 2010 +0900 @@ -76,7 +76,7 @@ // 標準出力を読む $cpids = array(); while( ! feof( $pipes[1] ) ) { - $line = fgets( $pipes[1] ); + $line = trim(fgets( $pipes[1] )); $pids = preg_split( "/[\s]+/", $line ); if( $pids[1] == $ppid ) { array_push( $cpids, $pids[0] );