1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--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
coverage * ext/coverage/coverage.c (Init_coverage): Change list format and 2011-10-10 21:06:39 +00:00
curses
date
dbm
digest
dl
etc * ext/etc/etc.c: Document Etc, Etc.sysconfdir, Etc.systmpdir. Patch 2011-10-03 23:33:57 +00:00
fcntl
fiber
fiddle
gdbm * ext/gdbm/gdbm.c (rb_gdbm_fatal): adjust argument type. 2011-09-29 11:37:47 +00:00
iconv
io * include/ruby/intern.h (rb_fd_set_cloexec): declared. 2011-10-22 09:58:15 +00:00
json
mathn
nkf
objspace
openssl * include/ruby/intern.h (rb_fd_set_cloexec): declared. 2011-10-22 09:58:15 +00:00
pathname
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
readline
ripper * ext/ripper/eventids2.c (ripper_init_eventids2): separate 2011-10-18 14:05:51 +00:00
sdbm
socket * include/ruby/intern.h (rb_fd_set_cloexec): declared. 2011-10-22 09:58:15 +00:00
stringio
strscan
syck
syslog
tk * include/ruby/defines.h: remove NextStep, OpenStep, Rhapsody 2011-09-26 00:19:03 +00:00
win32ole
zlib
.document
extmk.rb
Setup
Setup.atheos
Setup.emx
Setup.nt