summaryrefslogtreecommitdiff
path: root/version.h
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2021-03-02 12:17:23 -0800
committergit <svn-admin@ruby-lang.org>2021-03-06 00:18:32 +0900
commit14e1739ff3ec81c9ea87a8aba03393f0bf0433a7 (patch)
treeb06b0ca59362886a320ecb79f13ad37b85b3febb /version.h
parent182cde8dfbbc6b9044d9b76c0bfdcf031bcda778 (diff)
[ruby/irb] Make save-history extension safe for concurrent use
This makes the save-history extension check for modifications to the history file before saving it. If the history file was modified after the history was loaded and before it was saved, append only the new history lines to the history file. This can result in more lines in the history file than SAVE_HISTORY allows. However, that will be fixed the next time irb is run and the history is saved. Fixes [Bug #13654] https://github.com/ruby/irb/commit/041ef53845
Diffstat (limited to 'version.h')
0 files changed, 0 insertions, 0 deletions