Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2016-01-20 14:53:25 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
214eda745d76b1f4126330f247519b7111cbe597
214eda74
1 parent
a5e5fd37
open null dev, not close stdout or stderr.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
0 行增加
和
6 行删除
trunk/src/app/srs_app_process.cpp
trunk/src/app/srs_app_process.cpp
查看文件 @
214eda7
...
...
@@ -150,12 +150,6 @@ int srs_redirect_output(string from_file, int to_fd)
return
ret
;
}
// disable output.
if
(
from_file
==
SRS_CONSTS_NULL_FILE
)
{
::
close
(
to_fd
);
return
ret
;
}
// redirect the fd to file.
int
fd
=
-
1
;
int
flags
=
O_CREAT
|
O_WRONLY
|
O_APPEND
;
...
...
请
注册
或
登录
后发表评论