Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
1169 commits
Select commit Hold shift + click to select a range
80c32b2
* io.c (do_ioctl, ioctl_narg_len, setup_narg, rb_ioctl): use
nobu Nov 12, 2011
3aaf92b
* test/ruby/test_io.rb (test_fcntl_dupfd): skip if Fcntl::DUPFD
Nov 12, 2011
d956e6d
* 2011-11-13
matzbot Nov 12, 2011
d3fc4ae
* test/webrick/test_cgi.rb (class TestWEBrickCGI): respect
Nov 12, 2011
2b2ef5c
* ext/dbm/extconf.rb: rollback $libs and $defs when db detection is
akr Nov 13, 2011
3e5bff7
* ext/dbm/extconf.rb: duplicate $libs and $defs when save them.
akr Nov 13, 2011
e8ca9cc
* ext/dbm/extconf.rb: treat libc as a choice for a library which
akr Nov 13, 2011
bfed16a
* ext/dbm/extconf.rb: rollback for each headers for each libraries.
akr Nov 13, 2011
abe61eb
update comments.
akr Nov 13, 2011
4b01d61
* ext/gdbm/gdbm.c (fgdbm_reorganize): set close-on-exec flag after
akr Nov 13, 2011
a0146d1
* lib/mkmf.rb (checking_for): should not modify the result.
nobu Nov 13, 2011
416778c
* ext/dbm/extconf.rb: use convertible_int.
nobu Nov 13, 2011
74a13c7
* numeric.c (check_uint): fix off-by-one bug of NUM2UINT.
Nov 14, 2011
15102da
* 2011-11-14
matzbot Nov 14, 2011
11137be
* test/-ext-/num2int/test_num2int.rb (class TestNum2int):
Nov 14, 2011
d3437b7
* bignum.c (rb_big2ull): fix off-by-twice bug of NUM2ULL.
Nov 14, 2011
b2a2ba1
* include/ruby/ruby.h: add NUM2SHORT(), NUM2USHORT() macros.
Nov 14, 2011
9debadd
* include/ruby/ruby.h: add #ifdef comment.
Nov 14, 2011
302220a
* numeric.c (rb_fix2ushort): fix typo. use num rb_num2ushort()
Nov 14, 2011
ed681d3
* bignum.c (rb_big2ull): fix 32bit platform breakage. we must
Nov 14, 2011
958caf1
* ext/-test-/num2int/num2int.c: should return valid values.
nobu Nov 14, 2011
158a828
add comment.
akr Nov 14, 2011
b848d4f
* ext/openssl/ossl_pkey.c (ossl_pkey_new_from_file): set close-on-exec
akr Nov 14, 2011
61fe9d5
added a description of NUM2SHORT() to NEWS
Nov 14, 2011
e144076
* 2011-11-15
matzbot Nov 14, 2011
40ca7a2
* test/ruby/test_io.rb (test_fcntl_dupfd): fix test error on
ayumin Nov 14, 2011
66f8e8b
revert r33752 and fix test case based [ruby-dev:44866].
ayumin Nov 14, 2011
16b663d
* regcomp.c (print_indent_tree): fix double printing of ENCLOSE_OPTION
nurse Nov 15, 2011
d020fb1
* test/ruby/test_io.rb (TestIO#test_fcntl_dupfd): fix OpenBSD test
Nov 15, 2011
9cdd62b
* include/ruby/ruby.h: get rid of gcc specific rb_long2int(),
Nov 15, 2011
fa00b65
* include/ruby/defines.h (FLUSH_REGISTER_WINDOWS): move sparc asm code
Nov 15, 2011
3d85b0f
* fix ANSI C compliance of r33757
Nov 15, 2011
fd5a7ee
* include/ruby/ruby.h(NUM2LONG, NUM2INT, NUM2SHORT, NUM2LL,
Nov 15, 2011
e408187
* sparc.c: property.
nobu Nov 15, 2011
3d25acd
* io.c, thread.c, ext/pty/pty.c, ext/fiddle/closure.c: use
akr Nov 15, 2011
498a6e8
* test/ruby/test_sleep.rb (test_sleep_5sec): 0.1sec tolerance is too
akr Nov 15, 2011
dbb03fd
* ext/openssl/ossl_asn1.c: get rid of potential overflow.
nobu Nov 15, 2011
737907b
* test/ruby/test_thread.rb (test_condvar_timed_wait): use
akr Nov 15, 2011
efdcaea
* 2011-11-16
matzbot Nov 15, 2011
12bde2d
* lib/minitest/unit.rb (assert_raises): experimental fix to run
nurse Nov 16, 2011
5db50ed
* bignum.c (rb_big2ull): add a cast to get rid of a VC++ warning.
unak Nov 16, 2011
ce03ef0
* ext/-test-/num2int/num2int.c: remove an unnecessary and wrong decl
unak Nov 16, 2011
b4664c7
Fix r33766.
nurse Nov 16, 2011
bbe004c
* io.c (argf_next_argv): wrong timing of setting ecflags.
unak Nov 16, 2011
ff187b0
Refix r33766.
nurse Nov 16, 2011
2a44594
* test/webrick/test_cgi.rb (TestWEBrickCGI#start_cgi_server): there are
unak Nov 16, 2011
4a99752
* bignum.c (rb_big2ulong): need to calc in unsigned long, because
unak Nov 16, 2011
1f86c08
* Makefile.in (LIBRUBY_A): check if generated linked library is
nobu Nov 16, 2011
0763668
* ext/psych/lib/psych.rb (load_file): make sure opened yaml files are
tenderlove Nov 17, 2011
9660bcf
* 2011-11-17
matzbot Nov 17, 2011
b5907f7
infinite loop seems to be fixed, so I can uncomment this assertion.
tenderlove Nov 17, 2011
b37c003
* benchmark/bm_io_select[23].rb: use Process::RLIMIT_NOFILE only when
unak Nov 17, 2011
09d2180
* ext/dbm/extconf.rb: revert a part of the patch in [ruby-dev:41531].
akr Nov 17, 2011
5a94b29
Improved error message when using llvm-gcc
Nov 17, 2011
6b43a55
* 2011-11-18
matzbot Nov 17, 2011
d6c86e6
Imported minitest 2.8.1
Nov 17, 2011
44cff77
* io.c (rb_cloexec_open): set O_NOINHERIT instead of O_CLOEXEC if it is
unak Nov 18, 2011
7491541
* test/unit/assertions.rb (MINI_DIR): quick dirty hack to get rid of
unak Nov 18, 2011
3723ac2
* ext/io/console/console.c (console_cooked, console_set_cooked):
nobu Nov 18, 2011
714ec98
* ext/io/console/console.c (console_raw, console_set_raw)
nobu Nov 18, 2011
805a01c
* test/net/http/test_http.rb: remove temporally files.
akr Nov 18, 2011
6fde18f
* 2011-11-19
matzbot Nov 18, 2011
b0fe688
* test/net/http/test_http.rb: remove temporally files in ensure clause.
akr Nov 19, 2011
6445aab
* time.c (TIME_COPY_GMT): copy vtm.utc_offset and vtm.zone too.
akr Nov 19, 2011
62fed7c
update doc.
akr Nov 19, 2011
54f282c
* lib/pathname.rb (Pathname#find): return an enumerator if
akr Nov 19, 2011
f6a635a
* Makefile.in (enc/unicode/name2ctype.h): remove duplicated
nobu Nov 19, 2011
4dd0e26
* 2011-11-20
matzbot Nov 19, 2011
562c42a
* lib/set.rb (SortedSet.setup): don't remove old_init. The remove
akr Nov 20, 2011
901ed0b
* lib/set.rb (SortedSet.setup): remove old_init after initialize
akr Nov 20, 2011
be276c1
* enc/unicode.c (PROPERTY_NAME_MAX_SIZE): +1.
nurse Nov 20, 2011
22dcc88
* ext/tk/tkutil/tkutil.c: fix shorten-64-to-32 warnings.
nobu Nov 20, 2011
afea904
* re.c (rb_reg_initialize): fix indent.
nobu Nov 20, 2011
aa347ba
* ext/tk/tkutil/tkutil.c (cbsubst_info): fix shorten-64-to-32 warnings.
nobu Nov 20, 2011
c2c6687
* ext/extmk.rb (extract_makefile, extmake): regenerate makefiels
nobu Nov 20, 2011
c82ff0a
* ChangeLog: fix typo.
nobu Nov 20, 2011
ee98d19
* 2011-11-21
matzbot Nov 20, 2011
81bedc6
* cont.c (fiber_switch): ignore fiber context switch
nurse Nov 20, 2011
f49f6ff
* io.c (linux_get_maxfd): new function to find maximum fd on Linux.
akr Nov 21, 2011
08f8dfc
* io.c (linux_get_maxfd): get rid of a warning.
akr Nov 21, 2011
15e793b
* 2011-11-22
matzbot Nov 21, 2011
19bca2e
* test/ruby/test_io.rb (test_fcntl_dupfd): the argument of F_DUPFD is
akr Nov 21, 2011
daeaa65
* ext/psych/lib/psych.rb: remove autoload from psych
tenderlove Nov 21, 2011
4e29a1a
* test/ruby/test_io.rb (test_fcntl_dupfd): there is no known platform
akr Nov 21, 2011
033244c
* numeric.c (ruby_float_step): improve floating point calculations.
nurse Nov 22, 2011
30d7627
* bignum.c (): refix of r33536. Don't change behavior of Bignum#/.
nurse Nov 22, 2011
18b5204
* win32/win32.c (dupfd): argument of _osfhnd and so on should not
nobu Nov 22, 2011
cc56bde
Fix for r33811.
nurse Nov 22, 2011
a0ef626
Use proc to delay making exception_details.
nurse Nov 22, 2011
083b923
* win32/win32.c (_pioinfo): make an inline function.
nobu Nov 22, 2011
6904c66
* win32/win32.c (_pioinfo): need to declare _pioinfo() before using
unak Nov 22, 2011
d47a1f8
Ignore mkmf generated files in ext/-test-/
drbrain Nov 23, 2011
fd8d9d9
* io.c (ioctl_narg_len): don't use _IOC_SIZE macro on Linux.
nurse Nov 23, 2011
1eb0f88
* 2011-11-23
matzbot Nov 23, 2011
29b0d9d
* ext/openssl/ossl_pkey_dsa.c: remove redundant colon from error
Nov 23, 2011
6872b9e
* 2011-11-24
matzbot Nov 23, 2011
c8abe4a
Mention "patched by"
Nov 23, 2011
5c7e691
increase difference of priority to avoid false nagative test result.
nurse Nov 24, 2011
452b74c
* test/openssl/test_engine.rb: Suppress output from 'openssl'
Nov 24, 2011
d716662
Merge branch 'fsync-nogvl' into trunk
Nov 24, 2011
7e35d6f
add a test.
akr Nov 24, 2011
bee4e84
* io.c (rb_io_reopen): re-initialize buffereing mode for stdout and
akr Nov 24, 2011
d7b7f56
* test/openssl/test_engine.rb: use IO#reopen to restore stderr.
akr Nov 24, 2011
5817762
* configure.in: add -Wall always.
Nov 24, 2011
1e79a33
* 2011-11-25
matzbot Nov 24, 2011
746aa6f
* configure.in: remove [read count field in FILE] check.
Nov 24, 2011
450c209
* configure.in: remove [read buffer ptr field in FILE structures] check.
Nov 24, 2011
b418bc9
* lib/mkmf.rb: get rid of warnings of mkmf.rb if -Wmissing-declarations
Nov 24, 2011
d0e615e
* configure.in: add -D_FORTIFY_SOURCE=2. It provide some compile
Nov 24, 2011
b2eae78
* configure.in: add -fstack-protector. It help to protect us from
Nov 24, 2011
98975ba
* configure.in: turn on PIE if --enable-shared is not specified.
Nov 24, 2011
0996ae3
* Makefile.in (EXTLDFLAGS): export it.
Nov 25, 2011
aa23f6b
* io.c (ioctl_narg_len, linux_iocparm_len): reinstantiate linux
Nov 25, 2011
8b83ea9
* configure.in (--no-undefined): RUBY_TRY_CFLAGS does nothing for
nobu Nov 25, 2011
b079453
* 2011-11-26
matzbot Nov 25, 2011
bdf357b
* ext/openssl/ossl_ssl.c: add comment on where to find implementation
Nov 26, 2011
41fa4bd
* ext/openssl/extconf.rb: remove checks for available functions.
Nov 26, 2011
c36ee7b
* .travis.yml: Travis enable.
shyouhei Nov 26, 2011
5606f11
* .travis.yml (before-script): autoconf required.
shyouhei Nov 26, 2011
4746358
* .travis.yml (before_script): wrong name, sorry.
shyouhei Nov 26, 2011
5fa9e5c
* .travis.yml (script): should be ./configure
shyouhei Nov 26, 2011
9d4db2d
* lib/net/http.rb (Net::HTTP::SSL_ATTRIBUTES): refix 33701.
nurse Nov 26, 2011
708d76a
* lib/net/http.rb (Net::HTTP.get_response): enable use_ssl
nurse Nov 26, 2011
0f59228
* test/openssl/test_engine.rb: remove side effect of generic engine
Nov 26, 2011
5f65271
* io.c (copy_stream_body): use 0666 for permission argument for open.
akr Nov 26, 2011
e125a38
* 2011-11-27
matzbot Nov 26, 2011
b6b8cc0
* lib/net/http.rb (Net::HTTP::SSL_IVNAMES): rerefix 33701.
nurse Nov 26, 2011
01a6488
* configure.in (--no-undefined): r33840 breaks FreeBSD with gcc47.
nurse Nov 26, 2011
b361c5a
Fix typo in r33849.
nurse Nov 26, 2011
7d11b9e
* configure.in (--no-undefined): r33840 breaks FreeBSD and DragonFly
nurse Nov 26, 2011
5fa2d2b
Run the test only if /dev/tty exists.
nurse Nov 27, 2011
0e28532
* configure.in: workaround to avoid MacOS X build error.
Nov 27, 2011
ed78271
* configure.in: revert r33832 and r33833. [ruby-core:41313] [Bug #5674]
Nov 27, 2011
358216c
An address can be negative.
nurse Nov 27, 2011
ef05fbd
* ext/tk/tcltklib.c (eventloop_sleep): unused.
nobu Nov 27, 2011
63e65fd
fix typos and minor edit
znz Nov 27, 2011
a4d38da
* configure.in: add -fstack-protector into XLDFLAGS as well as
Nov 27, 2011
2d14b79
* insns.def (pop): suppress self-assign warning of clang.
nobu Nov 27, 2011
0a420f2
* thread_pthread.c (add_signal_thread_list): suppress warning for
nobu Nov 27, 2011
a072b2d
* configure.in: whitespace-cleanup.
nobu Nov 27, 2011
929e69f
* configure.in: whitespace-cleanup.
nobu Nov 27, 2011
c4cd97a
* configure.in (-fstack-protector): also needed in DLDFLAGS.
nobu Nov 27, 2011
41f756e
* Makefile.in (DLDFLAGS): also needs -fstack-protector.
nobu Nov 27, 2011
9b58c2e
* configure.in (stack_protector): disable on mingw. [Bug#5676]
nobu Nov 27, 2011
8cee312
* io.c (rb_write_error2): get rid of warning on linux. fwrite
Nov 27, 2011
5438208
* configure.in: added -fno-strict-overflow. it suppress annoying
Nov 27, 2011
5bc2805
* win32/win32.c (rb_w32_uchmod): typo. [Bug#5671] [ruby-dev:44898]
unak Nov 28, 2011
4ccc50f
* 2011-11-28
matzbot Nov 28, 2011
61b3acd
* win32/{Makeilfe.sub,win32.c} (FILE_COUNT, FILE_READPTR): move the
unak Nov 28, 2011
1510ad8
* include/ruby/subst.h: moved Windows specific substitions from
nobu Nov 28, 2011
d81c207
* include/ruby/subst.h: typo of r33876.
unak Nov 28, 2011
02f9b4d
* io.c (rb_io_flush): release GVL during fsync() on Windows.
unak Nov 28, 2011
b038172
* win32/mkexports.rb (Exports#read_substitution): need to read
nobu Nov 28, 2011
70edc47
* win32/mkexports.rb (Exports#initialize): remove old symbol name.
unak Nov 28, 2011
2d6a401
* include/ruby/win32.h, win32/win32.c (GetCurrentThreadHandle): remove
unak Nov 28, 2011
2d0c17d
* gc.c (initial_params): static. it seems to be forgetten at r33501.
unak Nov 28, 2011
4d6de2f
* parse.y (nodetype, nodeline): static. these functions are for
unak Nov 28, 2011
fb8ff8d
* io.c (rb_write_error2): fwrite() returns ssize_t.
nobu Nov 28, 2011
81ef9c6
* test/rake/test_rake_directory_task.rb
unak Nov 28, 2011
0f7e05a
yugui Nov 28, 2011
2ffeb68
* 2011-11-29
matzbot Nov 28, 2011
97c3d78
* ChangeLog: fix some typos.
nagachika Nov 28, 2011
22702f9
* include/ruby/win32.h (GetCurrentThreadHandle): remove unused API.
nagachika Nov 28, 2011
194882c
* lib/mkmf.rb: Wrap mkmf.rb in module MakeMakefile to clean up Object
drbrain Nov 28, 2011
b1f1e46
* lib/mkmf.rb: Wrap comments to 78 columns and clean up formatting.
drbrain Nov 28, 2011
4659b00
* parse.y (nodetype, nodeline): suppress warnings.
nobu Nov 29, 2011
9fe88af
* win32/win32.c (rb_w32_inet_ntop): constified.
nobu Nov 29, 2011
82d138f
* io.c (rb_write_error2): suppress unused variable warning.
nobu Nov 29, 2011
2ba2472
* lib/mkmf.rb: Fix indentations of constants at end of module.
drbrain Nov 29, 2011
302b6f6
Don't break tests.
nurse Nov 29, 2011
0df9007
* ext/psych/parser.c (parse): parse method can take an option file
tenderlove Nov 30, 2011
b62aadf
* 2011-11-30
matzbot Nov 30, 2011
434a5f9
* lib/rdoc/encoding.rb (RDoc::Encoding.read_file): fixup newline chars
unak Nov 30, 2011
8b7ecdc
* lib/mkmf.rb: Use MakeMakefile's rm_f to avoid conflict with Rake or
drbrain Nov 30, 2011
6a89468
Fix r33904.
nurse Nov 30, 2011
1d234a1
* test/ruby/test_module.rb (TestModule): removed remove_*_mixins meth…
nobu Nov 30, 2011
ed73a90
transcode.c: Simplified rb_econv_binmode, avoided a warning on cygwin.
duerst Nov 30, 2011
f6f4534
* variable.c (rb_path2class): don't raise NameError when the middle
nurse Nov 30, 2011
4c5c26c
Fix 33906: remove JSON::Ext::Generator::GeneratorMethods::String.
nurse Nov 30, 2011
5ee348f
* 2011-12-01
matzbot Nov 30, 2011
0d0bd16
* configure.in: add sys/prctl.h test.
Nov 30, 2011
05f423a
properties.
nobu Dec 1, 2011
b2e137c
* configure.in (LDFLAGS): -fstack-protector is always needed to
nobu Dec 1, 2011
a394c59
* ext/bigdecimal/bigdecimal.h (Real): suppress false warning from
nobu Dec 1, 2011
f274088
* include/ruby/subst.h: removed arguments lists so that function
nobu Dec 1, 2011
abb40f8
* include/ruby/subst.h: reverted r33916, since some names in vm.inc c…
nobu Dec 1, 2011
b5be930
* lib/mkmf.rb (MakeMakefile#try_func): fix broken patch at r33834.
nobu Dec 1, 2011
05e2da6
* ext/socket/extconf.rb: add arguments for macro calls.
nobu Dec 1, 2011
b0f588f
* ext/socket/extconf.rb: get rid of warnings by
nobu Dec 1, 2011
c6dec37
* proc.c (rb_proc_arity): Fix Proc#arity in case of optional arguments
marcandre Dec 1, 2011
eecacaa
* io.c (linux_get_maxfd): change local variable name.
akr Dec 1, 2011
72af262
* thread_pthread.c (thread_timer): call prctl(PR_SET_NAME) only if
nagachika Dec 1, 2011
0b16517
Revert r33921.
nurse Dec 1, 2011
12697d5
* 2011-12-02
matzbot Dec 1, 2011
6ec1902
* configure.in: use $linker_flag for LDFLAGS option which is not
nobu Dec 2, 2011
9b69817
Revert r33926 "* configure.in: use $linker_flag for LDFLAGS option wh…
nurse Dec 2, 2011
55cae88
* configure.in: use $linker_flag for LDFLAGS option which is not
nobu Dec 2, 2011
0755d41
* configure.in: check whether -pie or -Wl,-pie is valid as
nobu Dec 2, 2011
5fce763
* configure.in (RUBY_TRY_CFLAGS, RUBY_TRY_LDFLAGS): more verbose mess…
nobu Dec 2, 2011
d0b2816
* ext/bigdecimal/bigdecimal.c (VpAllocReal): reduce extra frac.
nobu Dec 2, 2011
2748f58
* configure.in (UNIVERSAL_INTS): include short int. fix for
nobu Dec 2, 2011
5569d35
* 2011-12-03
matzbot Dec 2, 2011
53df70d
* Makefile.in (CFLAGS): append ARCH_FLAG.
nobu Dec 2, 2011
d267b2e
* variable.c (set_const_visibility): Module#private_constant has
mame Dec 3, 2011
4a1cfe7
* variable.c (set_const_visibility): print a warning when no argument
mame Dec 3, 2011
f9a6a1d
Introduce NEED_READCONV and NEED_WRITECONV to replace universal newli…
luislavena Dec 4, 2011
e21f885
* 2011-12-04
matzbot Dec 4, 2011
6e56d64
* lib/delegate.rb (Delegator#methods): Kernel#methods receives
nurse Dec 4, 2011
483fd74
* lib/pp.rb: fix rdoc.
k-tsj Dec 4, 2011
7b18746
* lib/tempfile.rb (Tempfile::MAX_TRY): remove unused constant.
akr Dec 4, 2011
250d10b
fix a typo.
akr Dec 4, 2011
b8f3ef6
* lib/tempfile.rb: don't use lock directory. [ruby-dev:39197]
akr Dec 4, 2011
39a9b9b
* io.c: suppress unused-value warnings. fixup of r33937.
nobu Dec 4, 2011
7f65469
* 2011-12-05
matzbot Dec 4, 2011
8229b9d
* ext/zlib/zlib.c (rb_gzreader_initialize): revert a part of r33937.
unak Dec 5, 2011
1dea192
* include/ruby/{subst.h,win32.h}, ext/socket/rubysocket.h: revert
unak Dec 5, 2011
bf0d8b7
* signal.c (reserved_signal_p): static.
nobu Dec 5, 2011
0e4b86b
* common.mk (newline.c, miniprelude.c): use VPATH.
nobu Dec 5, 2011
8baffe6
* class.c (rb_obj_methods), compile.c (iseq_compile_each),
nobu Dec 5, 2011
b526738
* bignum.c (big_rshift), compile.c (validate_label,
nobu Dec 5, 2011
74b985a
* ChangeLog: remove dup entry.
nobu Dec 5, 2011
8bce84f
* process.c (proc_seteuid_m): fix argument.
nobu Dec 5, 2011
c09f463
* regparse.c (PFETCH_READY): separate gcc specific trick.
nobu Dec 5, 2011
3581d76
* regparse.c: fix typo.
nobu Dec 5, 2011
52f61ea
Comment out tests which fails with GDBM-DBM compat mode.
nurse Dec 5, 2011
03c0286
* 2011-12-06
matzbot Dec 5, 2011
79bc357
* range.c: Improve documentation for Range. Patch by Chris Zetter.
drbrain Dec 5, 2011
2f49f5e
* ext/dbm/extconf.rb: detect gdbm_version in libgdbm.
akr Dec 6, 2011
20c91ca
Skip tests when the lib is with gdbm 1.8.0.
nurse Dec 6, 2011
0209f8d
Fix copy and paste miss of r33960.
nurse Dec 6, 2011
1ff1507
See the string "GDBM version".
nurse Dec 6, 2011
bb18751
* ext/dbm/dbm.c: use db_version() instead of DB_VERSION_STRING for
akr Dec 6, 2011
c5fada6
fix spaces.
akr Dec 6, 2011
54b214c
* ext/psych/lib/psych.rb (module Psych): parse and load methods take
tenderlove Dec 6, 2011
7c5aa76
* 2011-12-07
matzbot Dec 6, 2011
1b99ecc
FreeBSD 9.0 RC2 fixes the bug.
nurse Dec 7, 2011
12e7e79
* io.c (Init_IO): Mention io/console methods. [Ruby 1.9 - Bug #5602]
drbrain Dec 7, 2011
3a5daef
* ext/bigdecimal/bigdecimal.c: Document +@, -@, hash, INFINITY, Nan.
drbrain Dec 7, 2011
054dbe2
* vm.c (vm_set_top_stack, vm_set_eval_stack): check for stack
nobu Dec 7, 2011
aecd98a
* configure.in (rpath): fix typo in the help string. a patch from
nobu Dec 7, 2011
09c399b
It is fixed in FreeBSD 9.0 RC3, not RC2.
nurse Dec 7, 2011
253079b
* 2011-12-08
matzbot Dec 7, 2011
89beb18
Ignore generated files in ext/-test-/path_to_class
drbrain Dec 7, 2011
5265436
* doc/re.rdoc: Fix example code to match documentation. Patch by
drbrain Dec 7, 2011
3e20498
* doc/re.rdoc: Document difference between match and =~, options with
drbrain Dec 7, 2011
f2747b5
* configure.in (RUBY_WERROR_FLAG): append all warning flags which
nobu Dec 8, 2011
2470d78
* ext/socket/extconf.rb: forgotten to define HAVE_SOCKETPAIR for
unak Dec 8, 2011
bb32987
* test/ruby/test_process.rb (TestProcess#test_sete[gu]id): silently
unak Dec 8, 2011
0bfa4ab
* test/rexml/test_order.rb (OrderTester#test_more_ordering): use
unak Dec 8, 2011
3ba7525
Fix hidden bug in `rb_feature_p`
funny-falcon Dec 8, 2011
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
* ext/dbm/extconf.rb: treat libc as a choice for a library which
  provide ndbm API.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
akr committed Nov 13, 2011
commit e8ca9cc343dcdf11641bd8a9d73bf7aa291b5572
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Sun Nov 13 16:24:48 2011 Tanaka Akira <[email protected]>

* ext/dbm/extconf.rb: treat libc as a choice for a library which
provide ndbm API.

Sun Nov 13 15:40:43 2011 Tanaka Akira <[email protected]>

* ext/dbm/extconf.rb: duplicate $libs and $defs when save them.
Expand Down
6 changes: 4 additions & 2 deletions ext/dbm/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
if dblib = with_config("dbm-type", nil)
dblib = dblib.split(/[ ,]+/)
else
dblib = %w(db db2 db1 db5 db4 db3 dbm gdbm gdbm_compat qdbm)
dblib = %w(libc db db2 db1 db5 db4 db3 dbm gdbm gdbm_compat qdbm)
end

headers = {
"libc" => ["ndbm.h"],
"db" => ["db.h"],
"db1" => ["db1/ndbm.h", "db1.h", "ndbm.h"],
"db2" => ["db2/db.h", "db2.h", "db.h"],
Expand Down Expand Up @@ -52,7 +53,8 @@ def headers.db_check2(db)

hdrs = self.fetch(db, ["ndbm.h"])
if (hdr = hdrs.find {|h| have_type("DBM", h, hsearch)} || hdrs.find {|h| have_type("DBM", ["db.h", h], hsearch)}) and
(have_library(db, 'dbm_open("", 0, 0)', hdr, hsearch) || have_func('dbm_open("", 0, 0)', hdr, hsearch)) and
(db == 'libc' ? have_func('dbm_open("", 0, 0)', hdr, hsearch) :
have_library(db, 'dbm_open("", 0, 0)', hdr, hsearch)) and
have_func('dbm_clearerr((DBM *)0)', hdr, hsearch)
if hsearch
$defs << hsearch
Expand Down