ruby/ext
akr b574a4d4a1 * include/ruby/intern.h (rb_fd_set_cloexec): declared.
* io.c (rb_fd_set_cloexec): new function.
  (ruby_dup): call rb_fd_set_cloexec to set close-on-exec flag.
  (rb_sysopen_internal): ditto.
  (rb_pipe): ditto.
  (io_reopen): ditto.
  (io_cntl): ditto.

* process.c (rb_f_exec): change the default :close_others option to
  true.
  (rb_f_system): ditto.
  (move_fds_to_avoid_crash): call rb_fd_set_cloexec to set
  close-on-exec flag.
  (ruby_setsid): ditto.
  (rb_daemon): ditto.

* thread_pthread.c (rb_thread_create_timer_thread): call
  rb_fd_set_cloexec to set close-on-exec flag.

* ruby.c (load_file_internal): ditto.

* file.c (rb_file_s_truncate): ditto.
  (file_load_ok): ditto.

* random.c (fill_random_seed): ditto.

* ext/pty/pty.c (chfunc): ditto.
  (get_device_once): ditto.

* ext/openssl/ossl_bio.c (ossl_obj2bio): ditto.

* ext/socket/init.c (rsock_socket): ditto.
  (rsock_s_accept_nonblock): ditto.
  (rsock_s_accept): ditto.

* ext/socket/socket.c (rsock_sock_s_socketpair): ditto.

* ext/socket/ancdata.c (discard_cmsg): ditto.
  (make_io_for_unix_rights): ditto.

* ext/socket/unixsocket.c (unix_recv_io): ditto.

* ext/io/console/console.c (console_dev): ditto.

[ruby-core:38140] [Feature #5041]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-22 09:58:15 +00:00
..
-test- * util.c (mmprepare): fix for fragmental size. 2011-10-20 02:42:26 +00:00
bigdecimal * ext/bigdecimal/bigdecimal.gemspec (files): fixed typo, and 2011-10-16 10:46:30 +00:00
continuation * cont.c (ruby_Init_{Continuation_body,Fiber_as_Coroutine}): prefixed 2009-01-20 07:17:28 +00:00
coverage * ext/coverage/coverage.c (Init_coverage): Change list format and 2011-10-10 21:06:39 +00:00
curses * ext/curses/curses.c: added the new class Curses::Pad, which 2011-07-17 15:10:06 +00:00
date suppress warnings. 2011-09-25 07:42:38 +00:00
dbm * enc/utf_16le.c: surpress warning: shorten-64-to-32. 2011-03-21 21:23:42 +00:00
digest * ext/digest/digest.c: Add documentation for the Digest module. Patch by 2011-08-12 17:23:11 +00:00
dl * ext/dl: Add documentation. Patch by Vincent Batts. [Ruby 1.9 - Bug #5192] 2011-08-16 00:34:51 +00:00
etc * ext/etc/etc.c: Document Etc, Etc.sysconfdir, Etc.systmpdir. Patch 2011-10-03 23:33:57 +00:00
fcntl .cvsignore: have not been used already. [Bug #3468] 2010-08-07 05:43:21 +00:00
fiber * cont.c (ruby_Init_{Continuation_body,Fiber_as_Coroutine}): prefixed 2009-01-20 07:17:28 +00:00
fiddle * ext/.document (fiddle): Remove duplicate entry 2011-08-15 23:48:59 +00:00
gdbm * ext/gdbm/gdbm.c (rb_gdbm_fatal): adjust argument type. 2011-09-29 11:37:47 +00:00
iconv * ext/iconv/iconv.c (Init_iconv): no warnings if $VERBOSE is nil. 2010-12-03 23:50:13 +00:00
io * include/ruby/intern.h (rb_fd_set_cloexec): declared. 2011-10-22 09:58:15 +00:00
json Fix typo: U+0456->U+0069. [Bug #5275] 2011-09-05 09:05:13 +00:00
mathn * complex.c (nucomp_canonicalization): renamed. 2008-12-12 23:40:55 +00:00
nkf * ext/nkf/nkf-utf8/nkf.c: import nkf 2.1.2 (be9c280) 2011-09-08 12:17:06 +00:00
objspace * ext/objspace/objspace.c: fix typos in a document. 2011-08-07 05:13:02 +00:00
openssl * include/ruby/intern.h (rb_fd_set_cloexec): declared. 2011-10-22 09:58:15 +00:00
pathname * ext/pathname/lib/pathname.rb: Fix typos and grammar mistakes. Patch 2011-08-26 22:22:37 +00:00
psych * ext/psych/lib/psych/syntax_error.rb: Add file, line, offset, and 2011-10-04 17:53:41 +00:00
pty * include/ruby/intern.h (rb_fd_set_cloexec): declared. 2011-10-22 09:58:15 +00:00
racc/cparse .cvsignore: have not been used already. [Bug #3468] 2010-08-07 05:43:21 +00:00
readline * ext/readline/README.ja: 2011-09-07 18:51:10 +00:00
ripper * ext/ripper/eventids2.c (ripper_init_eventids2): separate 2011-10-18 14:05:51 +00:00
sdbm * ext/sdbm/init.c: parenthesize macro arguments. 2011-03-25 12:56:34 +00:00
socket * include/ruby/intern.h (rb_fd_set_cloexec): declared. 2011-10-22 09:58:15 +00:00
stringio * ext/stringio/stringio.c (strio_read): return new string if nil 2011-08-20 01:43:26 +00:00
strscan * ext/strscan/strscan.c: parenthesize macro arguments. 2011-03-31 11:42:23 +00:00
syck * ext/syck/lib/syck/types.rb: use toplevel Syck. 2011-09-07 22:37:34 +00:00
syslog * ext: remove trailing spaces. 2011-05-22 09:26:02 +00:00
tk * include/ruby/defines.h: remove NextStep, OpenStep, Rhapsody 2011-09-26 00:19:03 +00:00
win32ole * ext: remove trailing spaces. 2011-05-22 09:26:02 +00:00
zlib * ext/zlib/zlib.c (gzfile_read_header): Ensure that each section of 2011-08-23 02:36:13 +00:00
.document * ext/.document (fiddle): Remove duplicate entry 2011-08-15 23:48:59 +00:00
extmk.rb * ext/extmk.rb (extmake): suppresses outputs from extconf.rb. 2011-07-03 14:44:59 +00:00
Setup * sprintf.c (rb_str_format): allow %c to print one character 2006-06-09 21:20:17 +00:00
Setup.atheos * ext/Setup*: remove tcltklib. 2005-01-26 05:15:02 +00:00
Setup.emx * ext/Setup*: remove tcltklib. 2005-01-26 05:15:02 +00:00
Setup.nt * ext/Setup*: remove tcltklib. 2005-01-26 05:15:02 +00:00