aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * bignum.c (bigfixize): zero length Bignum is 0.nobu2009-03-132-1/+6
| | | | 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-123-10/+17
| | | | | | | [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-128-54/+61
| | | | | | | | | * 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-122-0/+9
| | | | | | | | 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-122-1/+6
| | | | | | | 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
* * io.c (nogvl_copy_stream_read_write, copy_stream_body): use size_t.nobu2009-03-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c, bignum.c, dln.c, error.c, gc.c, io.c, marshal.c,nobu2009-03-1221-121/+132
| | | | | | | | | | 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-123-8/+38
| | | | | | | 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-123-3/+6
| | | | | | | 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-122-8/+12
| | | | 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-122-12/+24
| | | | | | | | | | 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-122-2/+6
| | | | 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-122-2/+6
| | | | 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-112-2/+21
| | | | | | | | 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-113-13/+34
| | | | | | | | | | 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-112-4/+6
| | | | 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-112-3/+6
| | | | 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-112-2/+4
| | | | 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-112-1/+6
| | | | | | | 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-112-3/+6
| | | | | | | 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-112-1/+6
| | | | | | | no effect at all. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use argument only if it is absolute path.akr2009-03-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: strip spaces from ruby_version.akr2009-03-112-1/+7
| | | | | | | | 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
* * dir.c (dir_seek): use long for seekdir().nobu2009-03-112-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/ytab.sed: replaces backslashes with slash for nmake.nobu2009-03-114-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_mload): don't clear tm_mday.akr2009-03-112-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/handle.c (rb_dlhandle_sym): RTLD_NEXT is not for symbolnobu2009-03-112-11/+6
| | | | | | | name. [ruby-dev:38150] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_base.rb: decide dll name of MSVCRT from RUBY_SO_NAME on ↵usa2009-03-111-5/+5
| | | | | | native Win32 platforms. [ruby-core:22828] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/win32/lib/Win32API.rb: call by :stdcall as default.usa2009-03-112-2/+7
| | | | | | | | [ruby-core:22826] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: mentiond about SUSv3.nobu2009-03-111-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (stack_type): uses VALUE which is able to be storednobu2009-03-112-7/+8
| | | | | | | parser stack. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (init_env): set TMPDIR if none of TMPDIR, TMP,nobu2009-03-112-56/+4
| | | | | | | TEMP is set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_telldir, rb_w32_seekdir): should use long.nobu2009-03-113-10/+119
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/handle.c (rb_dlhandle_sym): moved conditinally used variable.nobu2009-03-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/handle.c (rb_dlhandle_sym): fixed heap corruption.nobu2009-03-112-9/+14
| | | | | | | [ruby-core:22822] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (ruby_init_loadpath_safe): expands libpath and removesnobu2009-03-102-3/+8
| | | | | | | last /lib. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_to_i, time_hash): time_t may be bigger than longnobu2009-03-103-8/+34
| | | | | | | | | | | | and int. * time.c (time_timeval, rb_time_timeval, obj2nsec, time_strftime), (time_mdump, time_mload): suppress warnings. * win32/Makefile.sub (config.h): added TIMET2NUM and NUM2TIMET. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: suppress warnings. based on a patch from Charlienobu2009-03-102-23/+29
| | | | | | | Savage at [ruby-core:22804]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (sig_trap): suppress warnings.nobu2009-03-103-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (WARNFLAGS): uses -wd4996 instead ofnobu2009-03-102-2/+9
| | | | | | | CRTDEFFLAGS. cf. [ruby-core:22725] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h (strcasecmp, strncasecmp): use _ prefixednobu2009-03-102-3/+6
| | | | | | | versions to suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/callback/mkcallback.rb (DLTYPE[FLOAT]): cast to suppressnobu2009-03-102-2/+6
| | | | | | | warnings. [ruby-core:22792] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c, bignum.c, gc.c, numeric.c, string.c, util.c, insns.def,nobu2009-03-1010-29/+35
| | | | | | | missing/crypt.c, missing/vsnprintf.c, : suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (OPTFLAGS): simplified.usa2009-03-101-1/+1
| | | | | | | forgotten to commit at r22849 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (LDFLAGS): moved -link to TRY_LINK, LINK_SOnobu2009-03-102-7/+10
| | | | | | | | and so on. based on a patch by Charlie Savage at [ruby-core:22794] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): passes LDFLAGS to rbconfig.rb sonobu2009-03-102-1/+6
| | | | | | | that extconf.rb could refer it. [ruby-core:22725] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (prepare_iseq_build): too few arguments to functionnobu2009-03-102-2/+7
| | | | | | | rb_ary_tmp_new(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (rb_iseq_compile_with_option): argument may be converted.nobu2009-03-102-8/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (MANGLED_PATH): defines for RUBYLIB_PREFIX.nobu2009-03-094-18/+21
| | | | | | | | | * ruby.c (ruby_init_loadpath_safe): uses string as buffer. * symbian/setup (config_h): defines MANGLED_PATH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (MINIRUBY): keep macro into Makefile.nobu2009-03-092-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e