1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/irb
Jeremy Evans 14e1739ff3 [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
2021-03-06 00:18:32 +09:00
..
cmd [ruby/irb] The command "irb_info" should show RUBY_PLATFORM 2021-02-11 20:36:43 +09:00
ext [ruby/irb] Make save-history extension safe for concurrent use 2021-03-06 00:18:32 +09:00
lc [ruby/irb] Update help message for next context-mode of 4 2021-02-27 06:51:12 +09:00
.document
color.rb [ruby/irb] handle __ENCODING__ as a keyword as well 2021-01-18 02:12:43 +09:00
color_printer.rb [ruby/irb] Rescue Errno::EINVAL on IRB pp 2021-01-19 08:57:50 -08:00
completion.rb [ruby/irb] do not escape a predicate method for doc namespace 2021-01-08 13:25:18 +09:00
context.rb
easter-egg.rb
extend-command.rb irb: Define extension command on the given object 2020-12-20 19:35:59 +09:00
frame.rb
help.rb
init.rb [ruby/irb] Enable to reassign a new block with "measure" command 2021-02-06 21:09:31 +09:00
input-method.rb [ruby/irb] add IRB::FileInputMethod.open to ensure closing associated File 2021-01-27 15:01:57 +09:00
inspector.rb [ruby/irb] Make IRB::ColorPrinter.pp compatible with PP.pp 2021-01-07 22:43:40 -08:00
irb.gemspec [ruby/irb] Add info.rb to gemspec 2021-02-04 21:12:54 +09:00
locale.rb
magic-file.rb
notifier.rb
output-method.rb
ruby-lex.rb [ruby/irb] Do not continue line if last expression is an endless range 2021-03-05 22:03:05 +09:00
ruby_logo.aa
src_encoding.rb
version.rb [ruby/irb] Version 1.3.4 2021-02-25 22:11:48 +09:00
workspace.rb [ruby/irb] Suppress colorize on Windows tests 2021-02-11 20:31:29 +09:00
ws-for-case-2.rb
xmp.rb