提交 89666f44 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-3316 --resolve you should attach git diffs

上级 4cd07bc2
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
* *
*/ */
#include <switch.h> #include <switch.h>
#include <sys/wait.h>
#define MY_BUF_LEN 1024 * 32 #define MY_BUF_LEN 1024 * 32
#define MY_BLOCK_SIZE MY_BUF_LEN #define MY_BLOCK_SIZE MY_BUF_LEN
...@@ -135,6 +136,8 @@ static switch_status_t shell_stream_file_open(switch_file_handle_t *handle, cons ...@@ -135,6 +136,8 @@ static switch_status_t shell_stream_file_open(switch_file_handle_t *handle, cons
switch_cond_next(); switch_cond_next();
} }
wait(&(context->pid));
goto end; goto end;
} else { /* child */ } else { /* child */
close(context->fds[0]); close(context->fds[0]);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论