1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/objspace
nobu 97fffcadcb 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
2018-10-09 03:21:57 +00:00
..
depend
extconf.rb
object_tracing.c ext/objspace/object_tracing.c (freeobj_i): fix missing assignment 2018-09-07 14:37:19 +00:00
objspace.c Rename imemo_alloc with imemo_tmpbuf 2018-05-09 07:11:59 +00:00
objspace.h
objspace_dump.c ext/objspace/objspace_dump.c: print addresses consistently 2018-10-09 03:21:57 +00:00