1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
rhe 2f551849c4 Use PRIuSIZE format specifier for size_t values
Use PRIuSIZE instead of PRIdSIZE. This fixes the exception message shown
on too large xmalloc2. This commit also fixes other incorrect use of
PRIdSIZE in other functions; though most of them are debug print.

* gc.c (heap_extend_pages, get_envparam_size, ruby_malloc_size_overflow,
  gc_profile_dump_on): Use PRIuSIZE instead of PRIdSIZE as the passed
  value is size_t, not ssize_t.

* iseq.c (get_line_info, rb_iseq_disasm_insn): Ditto.

* sprintf.c (rb_str_format): Ditto.

* thread_win32.c (native_thread_create): Ditto.

* vm.c (get_param): Ditto.

* ext/objspace/objspace_dump.c (dump_append_string_content,
  dump_object): Ditto.

* ext/socket/raddrinfo.c (host_str, port_str): Ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-13 12:33:13 +00:00
..
-test- rb_funcallv 2016-07-29 11:57:14 +00:00
bigdecimal Use https instead of http in some URLs 2016-09-11 10:33:36 +00:00
cgi/escape Update dependencies 2016-07-06 05:48:13 +00:00
continuation Update dependencies 2016-07-06 05:48:13 +00:00
coverage Update dependencies. 2016-04-11 11:50:00 +00:00
date Update dependencies 2016-07-06 05:48:13 +00:00
dbm Update dependencies 2016-07-06 05:48:13 +00:00
digest Use qualified names 2016-08-30 06:22:30 +00:00
etc Update dependencies 2016-07-06 05:48:13 +00:00
fcntl Update dependencies 2016-07-06 05:48:13 +00:00
fiber Update dependencies 2016-07-06 05:48:13 +00:00
fiddle Update dependencies 2016-07-06 05:48:13 +00:00
gdbm Update dependencies 2016-07-06 05:48:13 +00:00
io Use https instead of http in some URLs 2016-09-11 10:33:36 +00:00
json Fix rdoc of OpenStruct.json_create [ci skip] 2016-08-30 06:27:29 +00:00
mathn handle ext/ as r53141 2015-12-16 05:31:54 +00:00
nkf Update dependencies. 2016-04-11 11:50:00 +00:00
objspace Use PRIuSIZE format specifier for size_t values 2016-09-13 12:33:13 +00:00
openssl openssl: import v2.0.0.beta.2 2016-09-08 01:09:19 +00:00
pathname rb_funcallv 2016-07-29 11:57:14 +00:00
psych * ext/psych/psych.gemspec, lib/rdoc/rdoc.gemspec: Use file list instead of 2016-09-08 05:33:59 +00:00
pty pty.c: dry up 2016-04-30 01:12:52 +00:00
racc/cparse Update dependencies 2016-07-06 05:48:13 +00:00
rbconfig/sizeof rbconfig/sizeof: calculate at compilation time 2016-04-25 05:39:12 +00:00
readline Update dependencies. 2016-04-11 11:50:00 +00:00
ripper probes.dmyh: remove preprocessor directives 2016-07-06 05:03:14 +00:00
sdbm remove unnecessary volatiles 2016-05-23 04:31:55 +00:00
socket Use PRIuSIZE format specifier for size_t values 2016-09-13 12:33:13 +00:00
stringio stringio.c: convert arguments just once 2016-07-11 07:00:58 +00:00
strscan Update dependencies. 2016-04-11 11:50:00 +00:00
syslog Update dependencies. 2016-04-11 11:50:00 +00:00
win32 win32/resolv: fix for cygwin 2016-08-10 11:11:36 +00:00
win32ole win32ole.c: fix long conversion 2016-08-13 13:01:13 +00:00
zlib Update dependencies 2016-07-06 05:48:13 +00:00
.document
extmk.rb extmk.rb: no ext, no build_complete 2016-09-04 05:27:48 +00:00
Setup * ext/tk: Tk is removed from stdlib. [Feature #8539] 2016-08-09 06:44:45 +00:00
Setup.atheos * ext/tk: Tk is removed from stdlib. [Feature #8539] 2016-08-09 06:44:45 +00:00
Setup.nacl * ext/tk: Tk is removed from stdlib. [Feature #8539] 2016-08-09 06:44:45 +00:00
Setup.nt * ext/tk: Tk is removed from stdlib. [Feature #8539] 2016-08-09 06:44:45 +00:00