diff options
author | nagachika <nagachika@ruby-lang.org> | 2022-03-13 15:10:34 +0900 |
---|---|---|
committer | nagachika <nagachika@ruby-lang.org> | 2022-03-13 15:10:34 +0900 |
commit | f4f0c793f6eb427b0a85445bff49fdc6b73447ae (patch) | |
tree | 6b9bdfcc65455b444d7101ecd7fa547c49ce7614 /test/ruby/test_exception.rb | |
parent | 6175823bab28b5d12f66371d67d006df37751fbc (diff) |
merge revision(s) b555e659c4974acc423083b71b1bd5ec6a926046: [Backport #18388]
Do not use `fcopyfile` if appending to non-empty file [Bug #18388]
`fcopyfile` appends `src` to `to` and then truncates `to` to it's
original size.
---
io.c | 7 +++++++
test/ruby/test_io.rb | 12 ++++++++++++
2 files changed, 19 insertions(+)
Diffstat (limited to 'test/ruby/test_exception.rb')
0 files changed, 0 insertions, 0 deletions