8000 Fix for Bug#4571 by tinco · Pull Request #14 · ruby/ruby · GitHub
[go: up one dir, main page]

Skip to content

Fix for Bug#4571 #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3,029 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
3029 commits
Select commit Hold shift + click to select a range
71470c6
* configure.in (RUBY_EXTERN): FUNCTION-BODY was missing.
nobu Jul 21, 2010
78e0f0a
* configure.in (RMDIR): use --ignore-fail-on-non-empty if possible.
nobu Jul 21, 2010
1790f2a
* configure.in (XCFLAGS): use -fvisibility=hidden if possible.
nobu Jul 21, 2010
cf77a12
* include/ruby/{intern,io}.h: add missing prototypes.
nobu Jul 22, 2010
5dc8e72
* test/ruby/test_rubyoptions.rb (test_unused_variable): unused
nobu Jul 22, 2010
08146c1
* configure.in: fix for older autoconf.
nobu Jul 22, 2010
caa130f
* configure.in (RUBY_EXTERN): ignore invalid attribute.
nobu Jul 22, 2010
5c4e041
* include/ruby/missing.h: add prototype for ruby_close().
nurse Jul 22, 2010
83ba6b3
* re.c (rb_reg_expr_str): fix broken Regexp#inspect when it
nurse Jul 22, 2010
f5316ba
* thread_pthread.c (get_stack): fix memory leak; pthread_attr_destory
mame Jul 22, 2010
50c03e6
* configure.in (RUBY_EXTERN): unnecessary after all.
nobu Jul 22, 2010
3391257
* complex.c (nucomp_to_i): allow complex with imaginary zero to be
Jul 22, 2010
13e91e8
* 2010-07-23
matzbot Jul 22, 2010
f852b3e
* configure.in (XCFLAGS): reverted mistakenly removed option.
nobu Jul 23, 2010
08acc25
* re.c (rb_reg_expr_str): fixed out-of-boundary access at invalid
nobu Jul 23, 2010
93f5272
* configure.in (RUBY_TRY_CFLAGS): try with werror turned on.
nobu Jul 23, 2010
8b883cb
* configure.in (RUBY_MINGW32): ignore msvc suffix.
nobu Jul 23, 2010
4d933ae
* lib/mutex_m.rb (sleep): added Mutex_m#sleep to support ConditionVar…
shugo Jul 23, 2010
e4f4b08
* test/test_mutex_m.rb: property.
nobu Jul 24, 2010
61926eb
* test/ruby/envutil.rb (EnvUtil#.suppress_warning): added.
nobu Jul 24, 2010
2da831d
* numeric.c (flo_cmp): honor the result of infinite? method of the
nobu Jul 24, 2010
f15604f
* vm.c (rb_thread_mark): mark only self of normal iseqs, not
nobu Jul 26, 2010
6ea7d67
* 2010-07-26
matzbot Jul 26, 2010
afd65e3
* configure.in: define BROKEN_CLOSE on FreeBSD.
nurse Jul 26, 2010
85ac32e
* vm.c (rb_thread_mark): should mark iseq itself other than normal
nobu Jul 26, 2010
6e09367
* configure.in: define BROKEN_CLOSE only on FreeBSD.
nurse Jul 26, 2010
dde84bb
* include/ruby/missing.h: revert a part of r28727. config.h is expected
unak Jul 26, 2010
18d70b4
* configure.in (XCFLAGS): missing.h needs config.h.
nobu Jul 26, 2010
1411ae2
* configure.in (config.h): add include guard.
nobu Jul 26, 2010
f663226
* ext/pathname/pathname.c (path_taint): Pathname#taint translated from
akr Jul 26, 2010
191f12b
* compile.c (rb_iseq_translate_threaded_code): removed duplicated code.
nobu Jul 26, 2010
b6b5bc2
* class.c, compile.c, dir.c, file.c, iseq.c, parse.y, random.c:
nurse Jul 27, 2010
590792f
* numeric.c (flo_cmp): typo.
unak Jul 27, 2010
81ee977
* defines.h, intern.h, missing.h, ruby.h, st.h, util.h: include
nobu Jul 27, 2010
f2995a9
* lib/mkmf.rb (have_framework): added.
nobu Jul 27, 2010
b6208f9
* Makefile.in (MINIRUBY): get rid of appending spaces for each
nobu Jul 27, 2010
bc70437
* ext/pathname/pathname.c (path_taint): use rb_obj_taint.
akr Jul 27, 2010
e10ea4d
* cont.c: (RB_PAGE_SIZE): renamed from PAGE_SIZE. [ruby-dev:41870]
nurse Jul 28, 2010
e2d1620
* 2010-07-28
matzbot Jul 28, 2010
708e3ae
* cont.c: typos.
unak Jul 28, 2010
6dfae13
* missing/*.c: include missing.h
nobu Jul 28, 2010
f483548
* win32/Makefile.sub (config.h): VC6 or later have stddef.h.
unak Jul 28, 2010
449952b
* vm_core.h (rb_thread_check_trap_pending): hidden API for tcl/tk wra…
nobu Jul 28, 2010
2f23b76
add a test.
akr Jul 28, 2010
cb38c20
* ext/pathname/pathname.c (path_eq): Pathname#{==,===,eql?} translated
akr Jul 28, 2010
e4d048c
* configure.in: not [freebsd] but [freebsd*] for AS_CASE.
nurse Jul 28, 2010
8651a00
* 2010-07-29
matzbot Jul 28, 2010
dfbd7e8
* file.c (rb_file_s_basename): pass baselen to rmext.
nobu Jul 28, 2010
0704576
* common.mk (EXT_SRCS): add ext/json/parser/parser.c.
nobu Jul 28, 2010
c92e2d6
* ext/pathname/pathname.c (path_cmp): Pathname#<=> translated
akr Jul 29, 2010
07cba3d
class description document moved.
akr Jul 29, 2010
8ab28f7
* 2010-07-30
matzbot Jul 29, 2010
cbb6441
* ext/tk/extconf.rb: use TK_XINCLUDES on tkConfig.sh when not empty,
Jul 29, 2010
c5151e2
* util.c (ruby_add_suffix): fixed a bug returning uninitialized
nobu Jul 29, 2010
8f1d27d
* file.c (file_expand_path): should check if could find user.
nobu Jul 29, 2010
d1fdee7
* file.c (file_expand_path): home directory must be absolute.
nobu Jul 29, 2010
df884c6
* lib/net/imap.rb (example): support starttls option.
nobu Jul 30, 2010
e3e42d7
* lib/net/imap.rb (example): use IO#noecho to read password if
nobu Jul 30, 2010
02ce91f
* lib/net/imap.rb: load io/console.
nobu Jul 30, 2010
81c4694
* file.c (file_expand_path): suppress a warning.
nobu Jul 30, 2010
1d9e6c4 * ext/pathname/pathname.c (path_hash): Pathname#hash translated
akr Jul 30, 2010
3e0580f
* lib/webrick/ssl.rb (WEBrick::Utils.create_self_signed_cert):
Jul 30, 2010
548b641
* 2010-07-31
matzbot Jul 30, 2010
57d120f
* ext/pathname/pathname.c (path_to_s): Pathname#to_s translated
akr Jul 31, 2010
0597b49
* util.c (ruby_add_suffix): suppress a warning.
nobu Jul 31, 2010
d280be9
* ext/pathname/pathname.c (Init_pathname): The alias,
akr Jul 31, 2010
5d1020f
* ext/pathname/pathname.c (path_inspect): Pathname#inspect translated
akr Jul 31, 2010
7cec0d7
* ext/win32ole/win32ole.c: fix typo. [ruby-core:31564][Bug #3636]
Jul 31, 2010
f251bc6
* 2010-08-01
matzbot Jul 31, 2010
1091723
* include/ruby/win32.h: latest x86_64 mingw defines stati64.
nobu Aug 1, 2010
5f86645
* ext/pathname/pathname.c (path_sub): Pathname#sub translated
akr Aug 1, 2010
337a961
* class.c (rb_include_module): don't clear the method cache if the
akr Aug 1, 2010
176c546
add ML ref.
akr Aug 1, 2010
14037c2
* bignum.c (big_op): comparison of bignum and infinity has returned 1
mame Aug 1, 2010
c4f14f3
* lib/irb/init.rb (IRB.parse_opts): set VERBOSE to true when debug
mame Aug 1, 2010
e7a2015
* ext/pathname/pathname.c (path_sub_ext): Pathname#sub_ext translated
akr Aug 1, 2010
a785f29
* win32/Makefile.sub: needs stddef.h for size_t. a patch from
nobu Aug 1, 2010
d3294a3
* ext/pathname/pathname.c (path_realpath): Pathname#realpath translated
akr Aug 1, 2010
c1d3943
* ext/bigdecimal/bigdecimal.c (BigDecimal_hash): use rb_memhash and t…
mrkn Aug 1, 2010
21f68ee
* ChangeLog: forget to write annotation for redmine.
mrkn Aug 1, 2010
51a6756
* string.c (rb_str_modify_expand, rb_str_resize): get rid of
nobu Aug 1, 2010
0a9cb90
* lib/pp.rb: describe superclasses explicitly.
akr Aug 1, 2010
f58514b
* ext/pathname/pathname.c (path_realdirpath): Pathname#realdirpath
akr Aug 1, 2010
abed462
* 2010-08-02
matzbot Aug 1, 2010
2e317da
* file.c (file_expand_path): wrong condition. [ruby-core:31591]
unak Aug 2, 2010
c6ea8dd
* thread_win32.c (native_thread_join): need to wait thread, of course.
unak Aug 2, 2010
e9c05ba
* ext/win32ole/win32ole.c: NONAMELESSUNION defined only if gcc
Aug 2, 2010
07f7412
* ruby.c (ruby_init_loadpath_safe): rb_str_set_len modifies ptr
nobu Aug 2, 2010
511bede
* insns.def, vm_core.h: fixed typo. reported by Rocky Bernstein
nobu Aug 2, 2010
de58b39
* ext/bigdecimal/bigdecimal.c (BigDecimal_hash): fix type warnings.
nobu Aug 2, 2010
83df01a
* ext/-test-/add_suffix/bug.c: for the prototype.
nobu Aug 2, 2010
55806a9
* ext/purelib.rb: no longer used since the default load path of
nobu Aug 2, 2010
4d519af
* tool/runruby.rb: no purelib.
shyouhei Aug 3, 2010
9419aec
* lib/rdoc/ri/driver.rb (setup_pager): no need to check the existence
unak Aug 3, 2010
3bff993
* ext/mkext.rb: remove purelib, fixes a bug in r28440, r28441.
nurse Aug 3, 2010
f8a702d
* bignum.c (rb_big_eq): never equal to infinity.
nobu Aug 3, 2010
29e038f
* hash.c (rb_check_hash_type): added.
nobu Aug 3, 2010
b93df99
* random.c (Init_Random): add Random::DEFAULT.
nobu Aug 3, 2010
9a784b2
add tests.
akr Aug 3, 2010
ca81b37
* ext/pathname/pathname.c (path_atime): Pathname#atime translated from
akr Aug 3, 2010
b5ee2b9
* 2010-08-04
matzbot Aug 3, 2010
ee92a54
* lib/mkmf.rb (create_makefile): no need to create the directory
unak Aug 4, 2010
0566d05
* string.c (rb_str_resize): shou 8000 ld copy the content properly. a
nobu Aug 4, 2010
d8dd830
* string.c (rb_str_set_len): rb_str_modify cannot work before the
nobu Aug 4, 2010
69daf23
* string.c (rb_str_resize): reverted r28851. rb_str_resize cannot
nobu Aug 4, 2010
92817a5
* string.c (rb_str_resize):: fix r28857 that failed to revert r28851.
mame Aug 4, 2010
38dc725
* 2010-08-05
matzbot Aug 4, 2010
6cce754
* file.c (realpath_rec): call rb_str_modify before rb_str_set_len.
akr Aug 4, 2010
f81e87d
* string.c (str_make_independent_expand): fix buffer overflow
nobu Aug 5, 2010
3b6a7ad
* ruby.c (ruby_init_loadpath_safe): ensure sopath to be modifiable
nobu Aug 5, 2010
6ec4722
* string.c (rb_str_set_len): should fail to modify shared string.
nobu Aug 5, 2010
c007875
* dir.c (glob_make_pattern): fold continuous PLAINs to get rid of
nobu Aug 5, 2010
05ed12e
* parse.y (void_expr_gen): add 'possibly' to warning message.
Aug 5, 2010
1df41fd
* marshal.c (w_float): should not append a dot if no fractal part
nobu Aug 5, 2010
b17b5ee
* complex.c (nucomp_marshal_load): should check the argument.
nobu Aug 5, 2010
5db652c
* compile.c (iseq_compile_each): drop unused ARGSCAT results.
nobu Aug 5, 2010
7cdd12d
* string.c (rb_str_set_len): bail out when buffer overflowed
nobu Aug 5, 2010
009e646
* README.EXT, README.EXT.ja (String functions): mention
nobu Aug 5, 2010
0ce09f5
* compile.c (iseq_compile_each): to_a method should be called.
nobu Aug 5, 2010
6deb4ce
* compile.c (NODE_ARGSCAT, NODE_ARGSPUSH): revert r28870 and r28873
mame Aug 5, 2010
f246a09
* compile.c (NODE_ARGSCAT, NODE_ARGSPUSH): drop unused ARGSCAT
mame Aug 5, 2010
9ede01a
* ext/pathname/pathname.c (path_ctime): Pathname#ctime translated from
akr Aug 5, 2010
d929bd8
* ext/pathname/pathname.c (path_mtime): Pathname#mtime translated from
akr Aug 5, 2010
e31dfb0
* 2010-08-06
matzbot Aug 5, 2010
b1ae871
* Makefile.in: ignore error from RMDIRS.
nurse Aug 6, 2010
090adb4
* common.mk (clean): add prelude.c, config.log, and rbconfig.rb.
nurse Aug 6, 2010
457f85e
* enc/depend: add space at the begginig of @ignore_error.
nurse Aug 6, 2010
c5117cb
* Makefile.in (clean-ext): fixed directories to be removed.
nobu Aug 6, 2010
0cbd491
* file.c (realpath_rec): rb_str_modify depends on the length, so
nobu Aug 6, 2010
61fa71b
* rational.c (nurat_div): divided by float zero should be
nobu Aug 6, 2010
c48b0a7
* rational.c (nurat_div): divided by infinity should be zero.
nobu Aug 6, 2010
cd9de03
* ext/pathname/pathname.c (path_chmod): Pathname#chmod translated from
akr Aug 6, 2010
0a1648d
* ext/pathname/pathname.c (path_lchmod): Pathname#lchmod translated
akr Aug 6, 2010
3cd2f68
* 2010-08-07
matzbot Aug 6, 2010
d68b2ba
* ext/pathname/pathname.c (path_chown): Pathname#chown translated
akr Aug 6, 2010
28719cf
* test/ruby/envutil.rb (assert_normal_exit): use assert. fix
akr Aug 7, 2010
f14abb4
* ext/pathname/pathname.c (Init_pathname): fix number of arguments for
akr Aug 7, 2010
011417a
* ext/win32ole/win32ole.c: fix checking version of GCC.
Aug 7, 2010
162557b
* vm_eval.c (vm_call0): fix for VM_METHOD_TYPE_NOTIMPLEMENTED.
nobu Aug 7, 2010
4dafcc2
* ext/pathname/pathname.c (path_sub_ext): don't clobber shared string.
nobu Aug 7, 2010
35cd98a
* lib/mkmf.rb: change instance variable to global.
nurse Aug 7, 2010
091ebec
.cvsignore: have not been used already. [Bug #3468]
nobu Aug 7, 2010
ebfea34
* ext/extmk.rb (extract_makefile): follow the change of
nobu Aug 7, 2010
20496f0
* mkconfig.rb, lib/rbconfig/obsolete.rb: warn obsolete and
nobu Aug 7, 2010
5b29d20
* include/ruby/missing.h: moved BROKEN_CLOSE replacements from
nobu Aug 7, 2010
5935f0f
* ext/pathname/pathname.c (path_lchown): Pathname#lchown translated
akr Aug 7, 2010
37390af
* missing/close.c: undef the macro "close" to prevent infinite
akr Aug 7, 2010
b0a80d0
* missing/close.c: undef the macros "getpeername", "getsockname" and
akr Aug 7, 2010
76ff71f
* test/ruby/envutil.rb (EnvUtil.invoke_ruby): merge stdout and stderr
akr Aug 7, 2010
5042f50
* include/ruby/subst.h: new file for substitute standard functions..
akr Aug 7, 2010
2204205
* 2010-08-08
matzbot Aug 7, 2010
e5a4a5e
* include/ruby/subst.h (snprintf): redefinition moved from ruby.h.
akr Aug 7, 2010
88ad911
* ext/pathname/pathname.c (path_fnmatch): Pathname#fnmatch and
akr Aug 7, 2010
ddf47e2
* lib/rbconfig/obsolete.rb: show the location which use Config.
akr Aug 7, 2010
0a0f851
update doc.
akr Aug 7, 2010
c606061
* include/ruby/missing.h, include/ruby/ruby.h (namespace ruby):
nobu Aug 7, 2010
65353ca
commit miss.
nobu Aug 7, 2010
b8bdc47
* common.mk (RUBY_H_INCLUDES): add subst.h.
nobu Aug 7, 2010
59ec3d6
* strftime.c (rb_strftime_with_timespec): suppress warnings.
akr Aug 8, 2010
26a5654
* parse.y (parser_tokadd_escape): no similar messages twice.
nobu Aug 8, 2010
d1107bc
* ext/pathname/pathname.c (path_ftype): Pathname#ftype translated
akr Aug 8, 2010
942d52f
* gem_prelude.rb, lib/rubygems.rb (Gem.suffixes): return truely
nobu Aug 8, 2010
e25d632
* lib/rubygems.rb (Gem.find_files): fixed search order same as
nobu Aug 8, 2010
6f6fabf
* lib/rubygems.rb (Gem.find_files): fixed variable scope.
nobu Aug 8, 2010
d6d9ec6
* lib/rubygems.rb (Gem.find_files): reverted to use globbing.
nobu Aug 8, 2010
4ce6649
* ext/pathname/pathname.c (path_make_link): Pathname#make_link
akr Aug 8, 2010
beaca7e
fix a test name.
akr Aug 8, 2010
155713a
* lib/mkmf.rb ($ignore_error): initialize after $nmake.
nobu Aug 8, 2010
2d25fe3
* test/ruby/test_require.rb (test_require_too_long_filename):
nobu Aug 8, 2010
0b45632
* dir.c (sys_warning_1): show error message.
nobu Aug 8, 2010
3048faa
* ext/nkf/nkf-utf8/nkf.c: Fix type of mimeout_state.buf.
nurse Aug 9, 2010
0d6968f
* lib/rubygems/source_index.rb: rename unused variable.
nurse Aug 9, 2010
fbd5d2a
* test/ruby/test_signal.rb (TestSignal#test_exit_action): use spawn
akr Aug 9, 2010
292aa3b
update doc.
akr Aug 9, 2010
f8ec92c
* ext/pathname/pathname.c (path_open): Pathname#open
akr Aug 9, 2010
d8ab2f0
* ext/pathname/pathname.c (path_readlink): Pathname#readlink translated
akr Aug 9, 2010
a80e63f
* 2010-08-10
matzbot Aug 9, 2010
2a47611
* lib/un.rb (httpd): SIGQUIT and SIGHUP are not guaranteed to exist.
unak Aug 10, 2010
1c46bd0
* lib/webrick/httprequest.rb (WEBrick::HTTPRequest::parse_uri):
nurse Aug 10, 2010
7cd19fe
* ext/bigdecimal/bigdecimal.h, ext/bigdecimal/bigdecimal.c: add exter…
mrkn Aug 10, 2010
58bd28f
* ext/bigdecimal/bigdecimal.c, ext/bigdecimal/bigdecimal.h, ext/bigde…
mrkn Aug 10, 2010
654b5ac
* README.EXT.ja: rb_tainted_str_new_cstr() is an alias of
unak Aug 10, 2010
6c70220
[ruby-core:31658]
Aug 10, 2010
3bc15e0
* ext/dl/win32/lib/win32/resolv.rb (get_info): get rid of a warning.
unak Aug 10, 2010
7b41fb7
* ext/pathname/pathname.c (path_rename): Pathname#rename translated
akr Aug 10, 2010
6d89ef0
* lib/date/format.rb (Date::Format::Bag): use Struct.
Aug 10, 2010
12fc515
* lib/opt 8000 parse.rb: suppress a warning.
akr Aug 10, 2010
48854e1
* complex.c (nucomp_to_[ifr]): don't allow complex with in-exact
Aug 10, 2010
e3f06d5
* ext/pathname/pathname.c (path_stat): Pathname#stat translated
akr Aug 10, 2010
92ddbbc
* 2010-08-11
matzbot Aug 10, 2010
608a675
* ext/bigdecimal/bigdecimal.c: don't use // comment.
mrkn Aug 11, 2010
d7d194e
* node.h (rb_parser_{get,set}_yydebug): used in ripper.
nobu Aug 11, 2010
5a92d6a
reverted revision r28961; which breaks test-all
shyouhei Aug 11, 2010
ba9d2b2
* NEWS: merge from branches/ruby_1_9_2, and move io/console.
znz Aug 11, 2010
c308b9f
* lib/cmath.rb (CMath.sqrt): use floating-point value. [ruby-core:31…
mrkn Aug 11, 2010
53070e2
* test/ruby/test_rubyoptions.rb (test_script_from_stdin): disable
akr Aug 11, 2010
e300cde
* 2010-08-12
matzbot Aug 11, 2010
25a64a9
wait a process.
akr Aug 11, 2010
53b7c1c
* test/test_cmath.rb: property.
nobu Aug 11, 2010
89badcd
* ChangeLog: adjust indentation.
nobu Aug 11, 2010
d9f1705
* include/ruby/encoding.h (rb_char_to_option_kcode): used in
nobu Aug 11, 2010
4e032bf
* ext/pathname/pathname.c (path_lstat): Pathname#lstat translated
akr Aug 12, 2010
3f9d1ef
* ext/pathname/pathname.c (path_make_symlink): Pathname#make_symlink
akr Aug 12, 2010
d99ae08
* lib/test/unit.rb (MiniTest::Unit.new): extend before initialize.
nobu Aug 13, 2010
1fc4f47
* ext/pathname/pathname.c (path_truncate): Pathname#truncate translated
akr Aug 13, 2010
4b48c10
* include/ruby/intern.h (rb_make_backtrace, rb_make_exception):
nobu Aug 14, 2010
deb5b8a
* 2010-08-14
matzbot Aug 14, 2010
e82652e
* include/ruby/intern.h (rb_time_interval): used in io/wait.
nobu Aug 14, 2010
456de53
* vm_core.h (rb_{get,set,reset}_coverages): used in coverage.
nobu Aug 14, 2010
218b6ef
* gc.h (rb_objspace_each_objects): used in objspace.
nobu Aug 14, 2010
695a98d
* regcomp.c (onig_memsize): constified.
nobu Aug 14, 2010
0d283f4
* io.c (rb_io_memsize): constified.
nobu Aug 14, 2010
c6daac4
* configure.in, include/ruby/defines.h (RUBY_FUNC_EXPORTED): macro
nobu Aug 14, 2010
f05b2dd
* test/objspace/test_objspace.rb: added test for objspace.
authorNari Aug 14, 2010
8662353
* ext/{coverage,objspace}/extconf.rb ($INCFLAGS): explicitly add
nobu Aug 14, 2010
43dfeb3
* test/coverage/test_coverage.rb: added.
nobu Aug 14, 2010
46dd07f
* thread.c (rb_gc_mark_threads): deprecated.
nobu Aug 14, 2010
ffc43e3
* ext/pathname/pathname.c (path_utime): Pathname#utime translated
akr Aug 14, 2010
1a158ee
* 2010-08-15
matzbot Aug 14, 2010
29dddc3
* ext/bigdecimal/extconf.rb, ext/bigdecimal/bigdecimal.h (labs, llabs…
mrkn Aug 14, 2010
f4b098c
fix typos.
akr Aug 15, 2010
55c24d0
* ext/bigdecimal/bigdecimal.h (VpVtoD): fix a type of e.
mrkn Aug 15, 2010
2565c9f
* lib/mkmf.rb (Logging.postpone): close @log only when it's available.
unak Aug 15, 2010
bd0c091
* ext/bigdecimal/bigdecimal.c (BigDecimal_dump, BigDecimal_inspect, V…
mrkn Aug 15, 2010
3703588
* ext/bigdecimal/bigdecimal.h (llabs): never never never never never
unak Aug 16, 2010
2b4995d
* 2010-08-16
matzbot Aug 16, 2010
c4f29e3
* Makefile.in, win32/Makefile.sub (test-rubyspec-precheck): split
nobu Aug 16, 2010
bac4ae7
merge revision(s) 28997:
shyouhei Aug 16, 2010
af2116e
* common.mk (capi): use -b option for doxygen. It disables stdout
akr Aug 16, 2010
afa1f1c
* ChangeLog: cleaned.
nobu Aug 16, 2010
f7eef7d
From 75db84d6ec7c9ef5fd05e5835ac1004df8ea7e2a Mon Sep 17 00:00:00 2001
nobu Aug 16, 2010
02669c2
From b80689141673b93e8d12968c3196ec6a2331da45 Mon Sep 17 00:00:00 2001
nobu Aug 16, 2010
871106d
* gc.c (gc_profile_result): use size_t. based on patches from
authorNari Aug 16, 2010
55e3e7e
* gc.c (gc_profile_result): Index begins with 1.
authorNari Aug 16, 2010
890a613
* ext/pathname/pathname.c (path_basename): Pathname#basename translated
akr Aug 16, 2010
cfef31f
* ext/pathname/pathname.c (path_basename): unused variable removed.
akr Aug 16, 2010
12cb655
Tue Aug 17 07:38:43 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
nobu Aug 16, 2010
a992930
Tue Aug 17 07:42:43 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
nobu Aug 16, 2010
2cec8e9
Tue Aug 17 07:50:37 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
nobu Aug 16, 2010
99ed3e9
* ext/pathname/pathname.c (path_dirname): Pathname#dirname translated
akr Aug 17, 2010
11ef147
* lib/date.rb: Re-revert the part of r28950.
nurse Aug 17, 2010
51af92c
* test/ruby/test_io.rb (test_threaded_flush): test "hi" is not output
akr Aug 17, 2010
a532ea3
* regcomp.c: revert r26701; it introduces Bug #3681.
nurse Aug 17, 2010
76abedd
* 2010-08-18
matzbot Aug 17, 2010
1e33b8d
Merge remote branch 'ruby.ruby/trunk' into trunk
shyouhei Aug 20, 2010
53b7c9a
configure.in: ensure -h passed to solaris linker even when gcc not used
Oct 31, 2010
0e3abd9
Merge remote branch 'ruby/trunk' into trunk
shyouhei Nov 8, 2010
e33a500
Merge remote branch 'bdwalton/solaris_ld_fix' into trunk
shyouhei Nov 8, 2010
c5ef893
Merge remote branch 'ruby/trunk' into trunk
shyouhei Mar 25, 2011
bcd89be
YAML.load time correctly parse usecs smaller than 1 fixes #4571
tinco May 5, 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
* include/ruby/{intern,io}.h: add missing prototypes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Jul 22, 2010
commit cf77a125567927fc4a98fa8b01e9e07f53daccc2
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Thu Jul 22 12:02:31 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>

* include/ruby/{intern,io}.h: add missing prototypes.

Thu Jul 22 06:38:18 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>

* configure.in (XCFLAGS): use -fvisibility=hidden if possible.
Expand Down
8 changes: 8 additions & 0 deletions complex.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,11 +359,19 @@ f_complex_new_bang2(VALUE klass, VALUE x, VALUE y)
#ifdef CANON
static int canonicalization = 0;

#if defined __GNUC__ && __GNUC__ >= 4
#pragma GCC visibility push(default)
#endif

void
nucomp_canonicalization(int f)
{
canonicalization = f;
}

#if defined __GNUC__ && __GNUC__ >= 4
#pragma GCC visibility pop
#endif
#endif

inline static void
Expand Down
2 changes: 0 additions & 2 deletions ext/dl/cfunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
#include <errno.h>
#include "dl.h"

VALUE rb_big2ulong_pack(VALUE x);

VALUE rb_cDLCFunc;

static ID id_last_error;
Expand Down
7 changes: 2 additions & 5 deletions ext/zlib/zlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <ruby.h>
#include <zlib.h>
#include <time.h>
#include <ruby/encoding.h>
#include <ruby/io.h>

#ifdef HAVE_VALGRIND_MEMCHECK_H
# include <valgrind/memcheck.h>
Expand Down Expand Up @@ -209,9 +209,6 @@ static VALUE rb_gzreader_readlines(int, VALUE*, VALUE);

void Init_zlib(void);

int rb_io_extract_encoding_option(VALUE opt, rb_encoding **enc_p, rb_encoding **enc2_p);
VALUE rb_str_conv_enc_opts(VALUE, rb_encoding*, rb_encoding*, int, VALUE);

/*--------- Exceptions --------*/

static VALUE cZError, cStreamEnd, cNeedDict;
Expand Down Expand Up @@ -2794,7 +2791,7 @@ static void
rb_gzfile_ecopts(struct gzfile *gz, VALUE opts)
{
if (!NIL_P(opts)) {
rb_io_extract_encoding_option(opts, &gz->enc, &gz->enc2);
rb_io_extract_encoding_option(opts, &gz->enc, &gz->enc2, NULL);
}
if (gz->enc2) {
gz->ecflags = rb_econv_prepare_opts(opts, &opts);
Expand Down
3 changes: 3 additions & 0 deletions include/ruby/intern.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ VALUE rb_ary_aref(int, VALUE*, VALUE);
VALUE rb_ary_subseq(VALUE, long, long);
void rb_ary_store(VALUE, long, VALUE);
VALUE rb_ary_dup(VALUE);
VALUE rb_ary_resurrect(VALUE ary);
VALUE rb_ary_to_ary(VALUE);
VALUE rb_ary_to_s(VALUE);
VALUE rb_ary_push(VALUE, VALUE);
Expand Down Expand Up @@ -99,6 +100,7 @@ SIGNED_VALUE rb_big2long(VALUE);
#define rb_big2int(x) rb_big2long(x)
VALUE rb_big2ulong(VALUE);
#define rb_big2uint(x) rb_big2ulong(x)
VALUE rb_big2ulong_pack(VALUE x);
#if HAVE_LONG_LONG
VALUE rb_ll2inum(LONG_LONG);
VALUE rb_ull2inum(unsigned LONG_LONG);
Expand Down Expand Up @@ -635,6 +637,7 @@ VALUE rb_str_buf_cat_ascii(VALUE, const char*);
VALUE rb_obj_as_string(VALUE);
VALUE rb_check_string_type(VALUE);
VALUE rb_str_dup(VALUE);
VALUE rb_str_resurrect(VALUE str);
VALUE rb_str_locktmp(VALUE);
VALUE rb_str_unlocktmp(VALUE);
VALUE rb_str_dup_frozen(VALUE);
Expand Down
1 change: 1 addition & 0 deletions include/ruby/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ void rb_io_check_closed(rb_io_t*);
int rb_io_wait_readable(int);
int rb_io_wait_writable(int);
void rb_io_set_nonblock(rb_io_t *fptr);
int rb_io_extract_encoding_option(VALUE opt, rb_encoding **enc_p, rb_encoding **enc2_p, int *fmode_p);

/* compatibility for ruby 1.8 and older */
#define rb_io_mode_flags(modestr) rb_io_modestr_fmode(modestr)
Expand Down
2 changes: 0 additions & 2 deletions pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,6 @@ TOKEN_PASTE(swap,x)(xtype z) \
# define VTOHD(x,y) rb_vtohd(x)
#endif

VALUE rb_big2ulong_pack(VALUE x);

static unsigned long
num2i32(VALUE x)
{
Expand Down
8 changes: 8 additions & 0 deletions rational.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,11 +403,19 @@ f_rational_new_bang2(VALUE klass, VALUE x, VALUE y)
#ifdef CANON
static int canonicalization = 0;

#if defined __GNUC__ && __GNUC__ >= 4
#pragma GCC visibility push(default)
#endif

void
nurat_canonicalization(int f)
{
canonicalization = f;
}

#if defined __GNUC__ && __GNUC__ >= 4
#pragma GCC visibility pop
#endif
#endif

inline static void
Expand Down
3 changes: 0 additions & 3 deletions vm_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -645,9 +645,6 @@ NOINLINE(void rb_gc_save_machine_context(rb_thread_t *));

#define sysstack_error GET_VM()->special_exceptions[ruby_error_sysstack]

VALUE rb_str_resurrect(VALUE str);
VALUE rb_ary_resurrect(VALUE ary);

/* for thread */

#if RUBY_VM_THREAD_MODEL == 2
Expand Down
0