aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * string.c (rb_hash_uint, rb_hash_start, rb_hash_end): use VALUEnobu2009-03-151-0/+5
| | | | | | | rather than unsigned int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (load_file_internal): stop the timer thread before exec.nobu2009-03-151-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (.y.c): use SRC_FILE which contains slashes instead ofnobu2009-03-151-0/+5
| | | | | | | backslashes. [ruby-core:22891] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (srcs-ext): creates ext/dl/callback/callback.c also.nobu2009-03-141-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (SAVED_GROUP_ID, p_gid_switch): should be rb_gid_t.nobu2009-03-141-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_subpat): accept capture name.akr2009-03-141-0/+16
| | | | | | | | | | | | | | | | | | | (rb_str_aref): follow above change. (rb_str_aref_m): pass the 2nd argument to rb_str_subpat. (rb_str_subpat_set): accept capture name. (rb_str_aset): follow above change. (rb_str_partition): ditto. (rb_str_aset_m): pass the 2nd argument to rb_str_subpat_set. * include/ruby/intern.h (rb_reg_backref_number): declared. * re.c (rb_reg_backref_number): defined. [ruby-core:21057] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (bmcall): should not uninitialized variable. a patch fromnobu2009-03-141-0/+5
| | | | | | | pegacorn at [ruby-dev:38169]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_scan_oct, ruby_scan_hex): use size_t.nobu2009-03-141-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_proc_call, rb_node_arity, bmcall, curry): checksnobu2009-03-141-2/+3
| | | | | | | overflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_proc_call): checks overflow.nobu2009-03-141-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_proc_parameters): unnamed_parameters() expects intnobu2009-03-141-0/+5
| | | | | | | not VALUE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_each_words): assume no string exceeds INT_MAX.nobu2009-03-141-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_spawn_internal): use int variable for status.akr2009-03-141-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_f_system): use rb_pid_t for pid.akr2009-03-141-0/+5
| | | | | | | (rb_spawn_internal): local variable renamed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strdup, Balloc, rv_alloc): use size_t.nobu2009-03-141-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_qsort): the result of cmp must be signed, so getnobu2009-03-141-0/+5
| | | | | | | rid of reuse of a variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (init_funcname_len, dln_find_exe_r, dln_find_file_r): usenobu2009-03-141-0/+9
| | | | | | | | | | | size_t. * file.c (rb_stat_inspect, file_expand_path): ditto. * util.c (ruby_qsort): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (CXX_EXT): checks for case-sensitive filesystem withnobu2009-03-141-0/+5
| | | | | | | FNM_SYSCASE rather than build_os. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils#fu_get_gid): stringify groupmatz2009-03-131-0/+5
| | | | | | argument before making regexp match. [ruby-dev:38155] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/init.c (wait_connectable0): remove unreachable code.akr2009-03-131-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_SIZEOF): pass [include] to AC_CHECK_SIZEOF.akr2009-03-131-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (dln_find_1): compare fspace in size_t world.akr2009-03-131-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (CFLAGS, CXXFLAGS): moved after warnflags.nobu2009-03-131-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (rb_throw_obj): inverted call flow. [ruby-core:22872]nobu2009-03-131-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (bool): not define to get rid of conflictnobu2009-03-131-1/+6
| | | | | | | against curses. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/openssl_missing.h (i2d_of_void): cast for callbacks.nobu2009-03-131-0/+15
| | | | | | | | | | | | | | | | | [ruby-core:22860] * ext/openssl/ossl_engine.c (ossl_engine_s_by_id): suppress a warning. * ext/openssl/ossl_ssl.c (ossl_sslctx_flush_sessions): time_t may be larger than long. * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_get_time), (ossl_ssl_session_get_timeout): use TIMET2NUM() to convert time_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_x509ext.c (ossl_x509ext_set_value): should usenobu2009-03-131-0/+6
| | | | | | | | OPENSSL_free instead of free. a patch from Charlie Savage at [ruby-core:22858]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (AC_HEADER_DIRENT): added.nobu2009-03-131-0/+11
| | | | | | | | | | | | * include/ruby/ruby.h (NUM2INT, rb_special_const_p): returns true and false instead of Qtrue and Qfalse for platforms where VALUE is bigger than int. * gc.c (gc_stress_set), ext/openssl/ossl_asn1.c (decode_bool): got rid of variables named `bool'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (struct stat.st_size): may be huge.nobu2009-03-131-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bigfixize): zero length Bignum is 0.nobu2009-03-131-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (rv_strdup): macro to duplicate nul-terminated string.nobu2009-03-121-0/+5
| | | | | | | [ruby-core:22852] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl: suppress warnings.akr2009-03-121-0/+7
| | | | | | | | | * ext/openssl/ossl.h (OSSL_Debug): don't use gcc extention for variadic macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (WARNFLAGS): warning 4996 is only in VC++8 orusa2009-03-121-0/+5
| | | | | | | | later. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c (ossl_ssl_def_const): use INT2NUM becauseakr2009-03-121-0/+5
| | | | | | | OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG doesn't fit into Fixnum. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c, bignum.c, dln.c, error.c, gc.c, io.c, marshal.c,nobu2009-03-121-1/+7
| | | | | | | | | | numeric.c, pack.c, strftime.c, string.c, thread.c, transcode.c, transcode_data.h, util.c, variable.c, vm_dump.c, include/ruby/encoding.h, missing/crypt.c, missing/vsnprintf.c: suppress VC type warnings. [ruby-core:22726] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (div0), numeric.c (infinite_value): new functions tonobu2009-03-121-1/+4
| | | | | | | get rid of VC divion by 0 warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (rb_vm_get_sourceline), vm_insnhelper.c (vm_throw): usenobu2009-03-121-1/+4
| | | | | | | rb_num_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c: use st_index_t for indexes instead of int.nobu2009-03-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_SIZEOF): if same size type is found, nonobu2009-03-121-0/+8
| | | | | | | | | | more calculation is needed. * configure.in (RUBY_DEFINT): falls back to RUBY_CHECK_SIZEOF if size is not immediate. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode_data.h: suppress warnings of overflow.akr2009-03-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h: suppress warnings of overflow.akr2009-03-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (warnflags): added some default flags,nobu2009-03-111-1/+5
| | | | | | | | pointer-arith, write-strings and shorten-64-to-32, but suppress unused-parameter and missing-field-initializers, if possible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_HUGE): checks whether a value range isnobu2009-03-111-1/+7
| | | | | | | | | | larger than long. * file.c (rb_stat_blocks): struct stat.st_blocks may be larger than long. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (copy_stream_fallback_body): off_t may be larger than long.nobu2009-03-111-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (rb_iseq_disasm): RSTRING_LEN() returns long.nobu2009-03-111-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_f_sleep): time() needs time_t.nobu2009-03-111-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (fill_random_seed): enclosed conditionally usednobu2009-03-111-1/+4
| | | | | | | variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (ruby_init_stack): range of rlim_cur may benobu2009-03-111-1/+4
| | | | | | | larger than int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/vsnprintf.c (BSD_vfprintf): commented out code which hasnobu2009-03-111-0/+5
| | | | | | | no effect at all. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: strip spaces from ruby_version.akr2009-03-111-0/+6
| | | | | | | | Sun C 5.9 SunOS_i386 Build47_dlight 2007/05/22 generates `ruby_version= 1 "." 9 "." 1'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e