nobu
d7720b2fc0
* process.c (rb_f_sleep): time() needs time_t.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 20:16:08 +00:00
nobu
383b905f5e
* random.c (fill_random_seed): enclosed conditionally used
...
variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 20:14:51 +00:00
nobu
bb1811d6a3
* thread_pthread.c (ruby_init_stack): range of rlim_cur may be
...
larger than int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 20:12:56 +00:00
nobu
bb8a49812a
* missing/vsnprintf.c (BSD_vfprintf): commented out code which has
...
no effect at all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 20:09:58 +00:00
akr
68b3cd3ea2
use argument only if it is absolute path.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 17:47:20 +00:00
akr
de292258b9
* configure.in: strip spaces from ruby_version.
...
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
2009-03-11 17:12:35 +00:00
nobu
fd0a91b5ab
* dir.c (dir_seek): use long for seekdir().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 16:18:10 +00:00
nobu
1c2cc09063
* tool/ytab.sed: replaces backslashes with slash for nmake.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 16:08:24 +00:00
akr
d1bc6cc720
* time.c (time_mload): don't clear tm_mday.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 12:23:41 +00:00
nobu
976c01b404
* ext/dl/handle.c (rb_dlhandle_sym): RTLD_NEXT is not for symbol
...
name. [ruby-dev:38150]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 11:13:40 +00:00
usa
612fe10526
* test/dl/test_base.rb: decide dll name of MSVCRT from RUBY_SO_NAME on native Win32 platforms. [ruby-core:22828]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 08:39:37 +00:00
usa
df63af6be2
* ext/dl/win32/lib/Win32API.rb: call by :stdcall as default.
...
[ruby-core:22826]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 08:27:21 +00:00
nobu
8a41bd7f51
* ChangeLog: mentiond about SUSv3.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 06:59:12 +00:00
nobu
315ee838bc
* parse.y (stack_type): uses VALUE which is able to be stored
...
parser stack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 04:27:11 +00:00
nobu
c8d40b9a3d
* win32/win32.c (init_env): set TMPDIR if none of TMPDIR, TMP,
...
TEMP is set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 04:22:38 +00:00
nobu
bf065f2e2e
* win32/win32.c (rb_w32_telldir, rb_w32_seekdir): should use long.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 04:16:56 +00:00
nobu
f5315680aa
* ext/dl/handle.c (rb_dlhandle_sym): moved conditinally used variable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 04:06:57 +00:00
nobu
7e59a8c5e4
* ext/dl/handle.c (rb_dlhandle_sym): fixed heap corruption.
...
[ruby-core:22822]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 04:03:14 +00:00
nobu
745bc1fd83
* ruby.c (ruby_init_loadpath_safe): expands libpath and removes
...
last /lib.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-10 21:12:49 +00:00
nobu
8231655dea
* time.c (time_to_i, time_hash): time_t may be bigger than long
...
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
2009-03-10 19:47:46 +00:00
nobu
0032476a24
* win32/win32.c: suppress warnings. based on a patch from Charlie
...
Savage at [ruby-core:22804].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-10 19:29:51 +00:00
nobu
cb434b4a80
* signal.c (sig_trap): suppress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-10 19:22:11 +00:00
nobu
c26d21bf71
* win32/Makefile.sub (WARNFLAGS): uses -wd4996 instead of
...
CRTDEFFLAGS. cf. [ruby-core:22725]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-10 11:07:42 +00:00
nobu
0641a4d83e
* include/ruby/win32.h (strcasecmp, strncasecmp): use _ prefixed
...
versions to suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-10 10:58:49 +00:00
nobu
5bfb9a63b7
* ext/dl/callback/mkcallback.rb (DLTYPE[FLOAT]): cast to suppress
...
warnings. [ruby-core:22792]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-10 10:40:07 +00:00
nobu
2e54fe9d4d
* array.c, bignum.c, gc.c, numeric.c, string.c, util.c, insns.def,
...
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
2009-03-10 05:43:14 +00:00
usa
f8147318dd
* win32/Makefile.sub (OPTFLAGS): simplified.
...
forgotten to commit at r22849
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-10 04:52:29 +00:00
nobu
a3e3fcbcd0
* win32/Makefile.sub (LDFLAGS): moved -link to TRY_LINK, LINK_SO
...
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
2009-03-10 04:45:51 +00:00
nobu
5157e572b8
* win32/Makefile.sub (config.h): passes LDFLAGS to rbconfig.rb so
...
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
2009-03-10 03:27:54 +00:00
nobu
6fe3eaec6c
* iseq.c (prepare_iseq_build): too few arguments to function
...
rb_ary_tmp_new().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-10 02:36:33 +00:00
nobu
756c803881
* iseq.c (rb_iseq_compile_with_option): argument may be converted.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-10 01:54:01 +00:00
nobu
ee4fbaa37e
* configure.in (MANGLED_PATH): defines for RUBYLIB_PREFIX.
...
* 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
2009-03-09 19:56:46 +00:00
nobu
d9d4df418b
* configure.in (MINIRUBY): keep macro into Makefile.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09 19:53:18 +00:00
nobu
99bb6a3f76
* configure.in (RUBY_CHECK_SIZEOF): fix for fallback.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09 19:43:24 +00:00
nobu
53f011e662
* ext/dl/callback/depend: fix for parallel build.
...
* ext/dl/callback/extconf.rb: callback.h is no longer created.
* ext/dl/callback/mkcallback.rb: creates main source first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09 18:48:34 +00:00
nobu
d3c4a4686a
* ext/dl/callback/extconf.rb ($distcleanfiles): added callback.c.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09 16:57:17 +00:00
nobu
31d1d0a829
* configure.in (load_relative): new option to enable load path
...
relative to libruby_so.
* ruby.c (ruby_init_loadpath_safe): added the case using dladdr().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09 15:06:22 +00:00
nobu
700a2b2350
* lib/rake: updated to rake code to rake-0.8.4 source code base.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09 07:49:14 +00:00
nobu
e09da0d092
* lib/rubygems/installer.rb (Gem::Installer#initialize): env may
...
not be under /usr/bin.
* lib/rubygems/installer.rb (Gem::Installer#shebang): uses /bin/sh
if shebang has any options, since env shebang trick does not
work with options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09 07:03:39 +00:00
nobu
3b759e62ac
* ext/dl/dl.c (Init_dl): protoized.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09 06:25:14 +00:00
nobu
2d2cf42ed1
* instruby.rb (manpages): use basename to compare and for Tempfile.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09 06:19:57 +00:00
nobu
6ec4b20520
* instruby.rb (default gems): installs default gemspecs.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09 05:55:28 +00:00
usa
8fd1340296
* win32/Makefile.sub (OPTFLAGS): simplified. see [ruby-core:22725]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09 05:48:54 +00:00
nobu
f2be33ac76
* instruby.rb: prints names of the directories where files are
...
installed to.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-09 05:33:59 +00:00
mame
d84595deb0
* test/ruby/test_proc.rb: add some tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-08 17:26:26 +00:00
mame
f725819666
* test/ruby/test_enum.rb: add some tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-08 16:38:33 +00:00
mame
835513a234
* test/ruby/test_object.rb: add a test for Object#method_missing.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-08 16:13:26 +00:00
svn
4bcd1853af
* 2009-03-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-08 16:12:13 +00:00
mame
6ff04457c0
* test/ruby/test_file_exhaustive.rb: add tests for File#size and
...
File.absolute_path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-08 16:12:09 +00:00
nobu
6ad0626daa
* win32/Makefile.sub (LDFLAGS): always prepends -link.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-08 14:02:50 +00:00