nobu
91c9a4becb
* common.mk (main): passes $(MAKE) to mkmain_cmd
...
* ext/extmk.rb (command_output): uses arguments to invoke make.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-03 05:53:18 +00:00
svn
8dba4cdf88
* 2009-03-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-02 16:56:45 +00:00
akr
1c2005fbf6
* lib/securerandom.rb (SecureRandom.urlsafe_base64): delete padding.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-02 16:56:40 +00:00
akr
557359d170
* ext/socket/sockport.h (SS_LEN): defined unconditionally.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-02 12:39:47 +00:00
akr
8a00868c3d
* ext/socket/ancdata.c (anc_inspect_socket_creds): supress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-02 12:27:33 +00:00
akr
fb5d4ecfb5
* ext/socket/ancdata.c (rsock_discard_cmsg_resource): defined
...
unconditionally.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-02 12:14:35 +00:00
akr
a36ea435d2
forgot to commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-02 12:13:00 +00:00
akr
344dcc25be
* ext/socket/raddrinfo.c (addrinfo_mload): don't use "sun" variable
...
for Solaris.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-02 12:07:41 +00:00
akr
27475f4dec
* file.c: include fcntl.h for O_RDONLY on Solaris.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-02 12:02:22 +00:00
nobu
3f0060c042
* lib/uri/common.rb (URI::Parser#escape): escaped string is ascii
...
only.
* lib/uri/common.rb (URI::Parser#unescape): converts bytewise.
[ruby-dev:38005], [ruby-dev:38110]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-02 10:43:04 +00:00
nobu
5b35cbf5d3
* README.EXT, README.EXT.ja (Macros): added HAVE_RUBY_*_H.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-02 07:40:13 +00:00
nobu
a8c4a7e44c
* win32/win32.c (init_env): keeps wide chars as wide chars.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-02 03:22:14 +00:00
nobu
033bed37c8
* ext/dl/dl.h (dlerror): fixed on Windows.
...
* ext/dl/handle.c (rb_dlhandle_initialize): returns handle to
libruby if nil is given on Windows as dlopen.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-02 02:01:48 +00:00
nobu
46e06b572b
* ext/dl/handle.c (rb_dlhandle_sym): get rid of buffer overrun,
...
and try ASCII WINAPI versions too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-02 01:50:56 +00:00
nobu
9fb56049eb
* eval.c (rb_longjmp), include/ruby/intern.h (ruby_cleanup): fixed
...
prototypes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-02 01:29:19 +00:00
svn
d6802f03b8
* 2009-03-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 15:57:37 +00:00
seki
4104010c88
merged a patch from Alessandro Di Maria in [ruby-core:22560].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 15:57:33 +00:00
akr
d79dc0f6a0
* ext/socket/raddrinfo.c: suppress warnings.
...
* ext/socket/socket.c: ditto.
* ext/socket/unixsocket.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 14:00:48 +00:00
akr
4ca8057c3e
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 12:59:59 +00:00
akr
aa2b22bba2
* ext/socket/ (rsock_getfamily): renamed from rb_sock_getfamily.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 11:58:13 +00:00
nobu
895b3f6e06
* ext/dl/win32/lib/Win32API.rb (initialize): passes rest
...
arguments to DL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 10:52:48 +00:00
nobu
2f3c15cb22
* ext/zlib/zlib.c (zstream_run): suppress a warning. a patch from
...
Charlie Savage at [ruby-core:22607].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 10:39:01 +00:00
nobu
cbeec45612
* util.c (ruby_dtoa): allocates one more byte to get rid of buffer
...
overrun. a patch from Charlie Savage at [ruby-core:22604].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 10:36:19 +00:00
nobu
a6c52eec0c
* common.mk (.y.c): removed extra backslash. [ruby-core:22602]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 10:11:00 +00:00
nobu
3465e37e63
* ext/dl/cfunc.c (rb_dlcfunc_call): fix for stdcall and missing
...
argument numbers. [ruby-core:22601]
* ext/dl/dl.h (DLSTACK_PROTO0_): added.
* ext/dl/mkcallback.rb (gencallback, gen_callback_file),
(rb_dl_init_callbacks): omit stdcall functions unless supported.
* lib/rubygems/config_file.rb (SHGetFolderPath): stdcall.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 10:02:06 +00:00
nobu
0fee78a198
* ext/bigdecimal/bigdecimal.c (gfDebug): uncommented out.
...
[ruby-core:22600]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 08:27:17 +00:00
nobu
da9ffe378f
* process.c (rb_waitpid): use wait_each() on no waitpid platforms.
...
[ruby-dev:38054]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 07:15:33 +00:00
nobu
135930e95b
* process.c (proc_daemon): stops and restarts timer thread because
...
daemon(3) implies fork(2). [ruby-dev:38055]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 07:01:03 +00:00
akr
172d208789
* ext/socket/ (rsock_make_hostent): renamed from sock_make_hostent.
...
(rsock_addrinfo): renamed from sock_addrinfo.
(rsock_getaddrinfo): renamed from sock_getaddrinfo.
(rsock_socket): renamed from ruby_socket.
(rsock_sock_s_socketpair): renamed from sock_s_socketpair.
(rsock_connect): renamed from ruby_connect.
* ext/socket/socket.c (sock_listen): make it static.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 06:48:22 +00:00
akr
a6274c1e72
add a space.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 06:33:13 +00:00
akr
c49f05dd79
* ext/socket: add rsock_prefix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 06:30:41 +00:00
nobu
faabbf230a
* test/ruby/test_path.rb (test_extname): test for r19596.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 05:16:14 +00:00
svn
fe017d1450
* 2009-03-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 05:10:41 +00:00
nobu
d988d09458
* test/ruby/test_path.rb (test_basename): test for r19595.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01 05:10:36 +00:00
akr
3888bfecf2
* vm_eval.c (rb_iterate): use volatile to suppress warnings.
...
* eval.c (ruby_cleanup): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-28 12:56:10 +00:00
akr
cfe9dcb886
* eval_error.c (error_print): use volatile to suppress warnings.
...
* vm_eval.c (eval_string_with_cref): ditto.
* thread.c (rb_exec_recursive): ditto.
* eval_jump.c (rb_exec_end_proc): ditto.
* eval.c (ruby_exec_node): ditto.
(rb_longjmp): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-28 11:12:36 +00:00
akr
2ba6eec1fa
* ext/socket/ancdata.c (ancillary_unix_rights): check message type.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-28 09:29:26 +00:00
akr
8746e342bc
* lib/net/http.rb: suppress warnings of non-existing instance variable
...
access for SSL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-28 07:19:55 +00:00
akr
54cd7ea168
* ext/socket/lib/socket.rb (BasicSocket#connect_address): returns ::1
...
if the address is IPv4-mapped IPv6 address for 0.0.0.0 for MacOS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-28 06:05:44 +00:00
kazu
2f83f7a7f4
update doc (add Pathname#binread)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-27 19:51:56 +00:00
kazu
8e8e5e770f
s/extention/extension/g
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-27 17:12:50 +00:00
svn
4012672433
* 2009-02-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-27 15:21:28 +00:00
akr
5fb1faf2bf
* ext/socket/raddrinfo.c: suppress strict-aliasing warning with
...
gcc version 4.4.0 20090219 (Red Hat 4.4.0-0.21) on Fedora 11 Alpha.
* ext/socket/socket.c: ditto.
* ext/socket/unixsocket.c: ditto.
* ext/socket/sockport.h (SS_LEN): defined.
(SET_SS_LEN): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-27 15:21:23 +00:00
akr
d8c66c4333
* ext/socket/ancdata.c (bsock_recvmsg_internal): close FDs passed by
...
SCM_RIGHTS unless :scm_rights=>true is given.
(discard_cmsg): extracted from rsock_discard_cmsg_resource.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-27 14:23:54 +00:00
akr
a7d581fa2f
* ext/openssl/lib/openssl/buffering.rb: define Buffering module under
...
OpenSSL. [ruby-dev:37906]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-27 13:15:35 +00:00
akr
7f247b9d0c
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-27 13:10:25 +00:00
akr
0f82f65cee
* lib/test/unit/assertions.rb: don't define assert_not_* if already
...
overridden.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-27 13:10:07 +00:00
akr
f252633804
* util.c: fix SEGV by test_time.rb with
...
gcc version 4.4.0 20090219 (Red Hat 4.4.0-0.21) on Fedora 11 Alpha.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-27 13:05:30 +00:00
nobu
506af65de1
* compile.c (cdhash_type, iseq_set_sequence): should not call
...
methods of the argument of case, to keep the semantics of
case/when. [ruby-dev:38079]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-27 09:30:53 +00:00
nobu
88d63339b3
* file.c (file_load_ok): cygwin allows to open directories.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-27 09:14:36 +00:00