1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
normal fd61a78303 use do/while(0) around GetDBM macros
* README.EXT: wrap GetDBM with do/while(0)
* README.EXT.ja: ditto
* ext/dbm/dbm.c: ditto, likewise for GetDBM2
* ext/gdbm/gdbm.c: ditto
* ext/sdbm/init.c: ditto
  [ruby-core:61217]

ref: http://c-faq.com/cpp/multistmt.html

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-02 22:50:31 +00:00
..
-test- * internal.h: Rename macro names: RBIGNUM_FOO to BIGNUM_FOO. 2014-02-15 21:17:34 +00:00
bigdecimal class.c: do nothing if copying self 2014-02-21 11:42:03 +00:00
continuation
coverage
date
dbm use do/while(0) around GetDBM macros 2014-03-02 22:50:31 +00:00
digest
dl use NUM2SIZET instead of NUM2INT 2014-02-25 14:18:13 +00:00
etc
fcntl
fiber
fiddle use NUM2SIZET instead of NUM2INT 2014-02-25 14:18:13 +00:00
gdbm use do/while(0) around GetDBM macros 2014-03-02 22:50:31 +00:00
io * ext/io/console/console.c (console_dev): need read access for conout$ 2014-02-22 10:11:25 +00:00
json class.c: do nothing if copying self 2014-02-21 11:42:03 +00:00
mathn
nkf
objspace * ext/objspace/objspace_dump.c (dump_object): use STR_SHARED_P() 2014-02-05 05:41:04 +00:00
openssl * ext/openssl/ossl_bn.c (ossl_bn_initialize): Use rb_integer_pack. 2014-02-11 14:06:51 +00:00
pathname
psych * ext/psych/lib/psych/visitors/yaml_tree.rb: support dumping Encoding 2014-03-01 02:09:53 +00:00
pty
racc/cparse
rbconfig/sizeof
readline A comment added. 2014-03-02 06:22:27 +00:00
ripper * ext/ripper/lib/ripper/lexer.rb: [DOC] use lower case version of core 2014-02-07 12:57:44 +00:00
sdbm use do/while(0) around GetDBM macros 2014-03-02 22:50:31 +00:00
socket option.c: use rb_w32_inet_pton 2014-02-23 03:18:56 +00:00
stringio * ext/stringio/stringio.c: [DOC] add docs and example by @schneems [ci skip] [fix GH-527] 2014-02-06 03:08:38 +00:00
strscan
syslog
thread ext/thread: SizedQueue#max= wakes up waiters properly 2014-02-05 23:35:06 +00:00
tk * ext/tk/README.tcltklib: [DOC] Fix typo by @xta [Fixes GH-532] [ci skip] 2014-02-11 08:02:01 +00:00
win32
win32ole ext/win32ole/win32ole.c (ole_typedesc2val): add VT_RECORD case. 2014-02-01 06:16:42 +00:00
zlib class.c: do nothing if copying self 2014-02-21 11:42:03 +00:00
.document
extmk.rb
Setup
Setup.atheos
Setup.emx
Setup.nacl
Setup.nt