OSDN Git Service
(root)
/
epgrec
/
epgrec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64dd118
)
fix: preg_splitのポカミスを修正
author
Sushi-k
<epgrec@park.mda.or.jp>
Mon, 26 Apr 2010 05:54:35 +0000
(14:54 +0900)
committer
Sushi-k
<epgrec@park.mda.or.jp>
Mon, 26 Apr 2010 05:54:35 +0000
(14:54 +0900)
recorder.php
patch
|
blob
|
history
diff --git
a/recorder.php
b/recorder.php
index
1368faf
..
aeaea82
100755
(executable)
--- a/
recorder.php
+++ b/
recorder.php
@@
-76,7
+76,7
@@
function epgrec_childproc( $ppid )
// 標準出力を読む
$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] );