Revision cd51e4f6
Added by Renato Botelho almost 10 years ago
src/etc/inc/pkg-utils.inc | ||
---|---|---|
158 | 158 |
"REPO_AUTOUPDATE" => "false" |
159 | 159 |
); |
160 | 160 |
|
161 |
$debug_fifo = $g['tmp_path'] . "/pkg-debug.fifo"; |
|
162 |
if (!file_exists($debug_fifo)) { |
|
163 |
posix_mkfifo($debug_fifo, 0600); |
|
164 |
} |
|
165 |
|
|
166 |
if (filetype($debug_fifo) == 'fifo') { |
|
167 |
$env["EVENT_PIPE"] = $debug_fifo; |
|
168 |
} |
|
169 |
|
|
170 | 161 |
$descriptorspec = array( |
171 | 162 |
1 => array("pipe", "w"), /* stdout */ |
172 | 163 |
2 => array("pipe", "w") /* stderr */ |
... | ... | |
265 | 256 |
"REPO_AUTOUPDATE" => "false" |
266 | 257 |
); |
267 | 258 |
|
268 |
$debug_fifo = $g['tmp_path'] . "/pkg-debug.fifo"; |
|
269 |
if (!file_exists($debug_fifo)) { |
|
270 |
posix_mkfifo($debug_fifo, 0600); |
|
271 |
} |
|
272 |
|
|
273 |
if (filetype($debug_fifo) == 'fifo') { |
|
274 |
$env["EVENT_PIPE"] = $debug_fifo; |
|
275 |
} |
|
276 |
|
|
277 | 259 |
$descriptorspec = array( |
278 | 260 |
1 => array("pipe", "w"), /* stdout */ |
279 | 261 |
2 => array("pipe", "w") /* stderr */ |
Also available in: Unified diff
Remove fifo debug from internal functions