aboutsummaryrefslogtreecommitdiffstats
path: root/lib/time.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-09 03:21:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-09 03:21:57 +0000
commit49f12b65021362648fbd49c6c86be41500445ae2 (patch)
tree2913a6c395408ff994caec282a83f39f85d597e6 /lib/time.rb
parentff0456f93ad5fe5e99c8cb11a7ec6f9a8d81c233 (diff)
downloadruby-49f12b65021362648fbd49c6c86be41500445ae2.tar.gz
ext/objspace/objspace_dump.c: print addresses consistently
The format addresses are printed in are different if you use `ObjectSpace.dump_all(output: :stdout)` vs. `ObjectSpace.dump_all(output: :string)` (or `ObjectSpace.dump`) due to differences in the underlying `vfprintf` implementation. Use `"%#"PRIxVALUE` to format `VALUE`. Co-authored-by: Ashe Connor <ashe@kivikakk.ee> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/time.rb')
0 files changed, 0 insertions, 0 deletions