nobu
f35308b3ef
* eval_intern.h (translit_char): moved from ruby.c.
...
* load.c (load_ext): transliterates file separators and back if
needed.
* symbian/setup (DLN_NEEDS_ALT_SEPARATOR): defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-19 06:11:41 +00:00
nobu
6d3ceb6ce3
* configure.in, */Makefile.sub (LOAD_RELATIVE): moved from ruby.c
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-19 05:48:14 +00:00
nobu
e2f6281302
* configure.in (darwin): uses -unexported_symbol option of ld instead
...
of objcopy
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-19 05:39:55 +00:00
nobu
c59107a9fa
* configure.in (darwin): makes dylib instead of so.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-19 05:24:43 +00:00
nobu
030eed8f39
* lib/mkmf.rb (create_makefile): added phony targets.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-19 05:22:04 +00:00
nobu
fb3fee22ca
* lib/mkmf.rb (create_makefile): removes directories in the depth
...
order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-19 05:18:27 +00:00
nobu
6784d8fda6
* lib/mkmf.rb (create_makefile): creates target directories before
...
copying. [ruby-core:21958]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-19 05:14:30 +00:00
nobu
4caba4ebd0
* file.c (rb_home_dir): checks if HAVE_PWD_H. [ruby-dev:38049]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-19 04:56:01 +00:00
takano32
90f84988fc
* ext/socket/rubysocket.h: add "#include <sys/stat.h>"
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 23:47:21 +00:00
akr
18afbc891c
* ext/socket/ancdata.c (ancillary_rights): new method.
...
(make_io_for_rights): new function to allocate
IOs for FDs in SCM_RIGHTS message.
(bsock_recvmsg_internal): use make_io_for_rights. So the FDs can be
closed by GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 18:43:15 +00:00
knu
2485ed5177
Sync with README.EXT.ja.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 18:39:22 +00:00
knu
678adc8714
* README.EXT, README.EXT.ja: Improve the document about
...
rb_scan_args() even more.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 18:34:38 +00:00
mame
234bc1d7a9
* test/ruby/test_file_exhaustive.rb: skip some tests if euid == 0.
...
a patch from Lucas Nussbaum in [ruby-core:22209].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 18:17:26 +00:00
svn
b09fde68e6
* 2009-02-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 18:02:07 +00:00
knu
f98759935c
* README.EXT, README.EXT.ja: Improve the document about
...
rb_scan_args().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 18:02:02 +00:00
akr
75ba47e8e8
* ext/socket/ancdata.c (discard_cmsg_resource): new function to close
...
file descriptors in control message.
(bsock_recvmsg_internal): call discard_cmsg_resource before retrying
recvmsg.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 13:47:53 +00:00
akr
f1a39b9e5c
* ext/socket/ancdata.c (bsock_recvmsg_internal): prevent misalignment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 12:48:11 +00:00
akr
34152d654a
* ext/socket/ancdata.c (bsock_sendmsg_internal): avoid misalignment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 12:35:22 +00:00
akr
d89e09b308
* ext/socket/ancdata.c (bsock_recvmsg_internal): reduce code on
...
environments which have no control message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 12:27:13 +00:00
nobu
288e892a10
* configure.in (OBJCOPY): set ac_cv_prog_ac_ct_OBJCOPY to do nothing
...
on cygwin and mingw because symbols are exported by def file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 11:27:17 +00:00
nobu
58f9782527
* file.c (rb_file_chown): use chown unless HAVE_FCHOWN.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 06:35:38 +00:00
nobu
30231731a9
* io.c (pipe_open): sarg is always used unless HAVE_FORK.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 06:33:53 +00:00
knu
fd2b650d06
* bootstraptest/runner.rb: Use RUBY_DESCRIPTION if defined.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 06:27:47 +00:00
nobu
3229c32008
* io.c (rb_write_error2, argf_next_argv), process.c (rb_fork_err),
...
random.c (fill_random_seed): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 06:21:04 +00:00
nobu
1128e61562
* array.c (rb_ary_resurrect), string.c (rb_str_resurrect): new
...
functions based on [ruby-dev:37983]
* insns.def (putstring, duparray): use rb_{ary,str}_resurrect().
* iseq.c (iseq_data_to_ary): needs to result TS_VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 05:33:36 +00:00
nobu
829ab73879
* file.c (rb_file_s_extname): fix for spaces before extention.
...
[ruby-dev:38044]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 03:38:42 +00:00
nobu
5f9342fa8a
* file.c (rb_file_s_extname): fix for spaces before extention.
...
[ruby-dev:38044]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 03:35:34 +00:00
nobu
656e005ac0
* file.c: removed trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 03:04:49 +00:00
nobu
17aa3d898d
* file.c (file_expand_path): suppress a warning. named magic
...
numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 03:01:03 +00:00
nobu
e5edfbf207
* bootstraptest/test_fork.rb: test for [ruby-core:22158]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 01:49:17 +00:00
nobu
28ec52c087
* thread.c (thread_start_func_2): do not delete main thread from
...
living_threads. [ruby-core:19385], [ruby-core:22158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 01:29:13 +00:00
nobu
58323cdc6e
properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18 01:28:52 +00:00
akr
e1f9891eeb
forgot to add.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 22:02:22 +00:00
nobu
056d798ed2
* ext/dl/handle.c (rb_dlhandle_sym): moved conditionally used variable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 18:17:51 +00:00
nobu
da97071549
* ext/socket/option.c: suppress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 18:14:20 +00:00
nobu
3e4b129b56
properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 17:06:22 +00:00
nobu
d968f62558
* NEWS: added Etc::{Passwd,Group}.each.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 16:59:06 +00:00
akr
9bd0ecd917
add comments for rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 16:29:43 +00:00
akr
0b058a1c2a
forgot to modify.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 16:17:03 +00:00
akr
e14c9923b4
* ext/openssl: avoid cyclic require.
...
* ext/openssl/lib/openssl/ssl-internal.rb: renamed from ssl.rb
* ext/openssl/lib/openssl/x509-internal.rb: renamed from x509.rb.
* lib/net/imap.rb: require openssl, instead of openssl/ssl.
* lib/net/pop.rb: require openssl, instead of openssl/ssl.
[ruby-dev:38018]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 16:09:44 +00:00
nobu
47d55a02a3
* ext/etc/etc.c (Etc::Passwd.each, Etc::Group.each): new methods.
...
[ruby-dev:37999]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 15:55:49 +00:00
akr
28cf7a6d6f
* ext/socket/ancdata.c (bsock_sendmsg_internal): make the padding
...
removing only on NetBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 14:26:34 +00:00
akr
536adb5d7c
care EWOULDBLOCK of accept_nonblock.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 11:05:35 +00:00
akr
2f8b471b89
fix an error message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 10:43:55 +00:00
akr
3d39a9a070
* ext/socket/ancdata.c (bsock_sendmsg_internal): should not remove the
...
last padding of control messages, basically.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 10:40:20 +00:00
nobu
0958624759
* test/ostruct/test_ostruct.rb (test_frozen): added assertions.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 09:57:12 +00:00
nobu
62dd7a00fc
* string.c (rb_str_shared_replace): no need for
...
str_make_independent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 03:50:59 +00:00
ko1
c9e4dc308f
* compile.c: fix to add "ensure" codes across "while" clause
...
before "return" expression. [ruby-dev:37967]
* bootstraptest/test_flow.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-16 20:54:58 +00:00
svn
cd2434deb6
* 2009-02-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-16 16:55:38 +00:00
akr
d9bb9b3255
* ext/socket/mkconstants.rb: generate rb_define_const directly for
...
rdoc.
* ext/.document: add socket/constdefs.c.
* ext/socket/constants.c (sock_define_const): removed.
(sock_define_uconst): ditto.
(rb_mSockConst): new static variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-16 16:55:33 +00:00