326 Star 1.6K Fork 345

GVPswoole / swoole-src

 / 详情

swoole_async_write不能自动创建删除的文件

Done
Opened this issue  
2017-04-07 13:19

大概流程:
1,第一次调用swoole_async_write写A文件,此时A文件不存在,该方法会自动创建
2,在命令行下rm -f A
3,第二次调用swoole_async_write,此时该方法不会再自动创建A,内容不知道到哪去了

期望:
能跟PHP的file_put_contents保持一致

Comments (1)

szargv created 任务

Swoole\Async::write等同于fwrite,与file_put_contents是完全不同的。

韩天峰 closed 任务

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(2)
C
1
https://gitee.com/swoole/swoole.git
git@gitee.com:swoole/swoole.git
swoole
swoole
swoole-src

Search

53164aa7 5694891 3bd8fe86 5694891