We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yes
RsyncClient::ThreadMain函数中未关闭打开的文件。且更新文件的方法不正确,正确做法应该是先写临时文件,然后覆盖旧文件。这里的修改方式存在的问题是:写文件到一半,服务器断电,可能会导致文件内容不符合预期。
No response
The text was updated successfully, but these errors were encountered:
fix: RsyncClient::ThreadMain not close file(OpenAtomFoundation#2302)
6a7d441
fix: RsyncClient::ThreadMain not close file(#2302) (#2313)
8b0c4dc
Co-authored-by: liuchengyu <[email protected]>
fix: RsyncClient::ThreadMain not close file(OpenAtomFoundation#2302) (O…
ba1ff7a
…penAtomFoundation#2313) Co-authored-by: liuchengyu <[email protected]>
0c960b0
No branches or pull requests
Is this a regression?
Yes
Description
RsyncClient::ThreadMain函数中未关闭打开的文件。且更新文件的方法不正确,正确做法应该是先写临时文件,然后覆盖旧文件。这里的修改方式存在的问题是:写文件到一半,服务器断电,可能会导致文件内容不符合预期。
Please provide a link to a minimal reproduction of the bug
No response
Screenshots or videos
No response
Please provide the version you discovered this bug in (check about page for version information)
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: