mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
b574a4d4a1
* 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
59 lines
1.7 KiB
Text
59 lines
1.7 KiB
Text
# -*- rd -*-
|
|
= NEWS
|
|
|
|
This document is a list of user visible feature changes made between
|
|
releases except for bug fixes.
|
|
|
|
Note that each entry is kept so brief that no reason behind or
|
|
reference information is supplied with. For a full list of changes
|
|
with all sufficient information, see the ChangeLog file.
|
|
|
|
== Changes since the 1.9.3 release
|
|
|
|
=== C API updates
|
|
=== Library updates (outstanding ones only)
|
|
|
|
* builtin classes
|
|
|
|
* Kernel
|
|
* extended method:
|
|
* Kernel#warn accepts multiple args in like puts.
|
|
* incompatible changes:
|
|
* system() and exec() closes non-standard file descriptors
|
|
(The default of :close_others option is changed to true by default.)
|
|
|
|
* Signal
|
|
* incompatible changes:
|
|
* Signal.trap raises ArgumentError when :SEGV, :BUS, :ILL, :FPE, :VTALRM
|
|
are specified.
|
|
|
|
* Time
|
|
* change return value:
|
|
* Time#to_s returned encoding defaults to US-ASCII but automatically
|
|
transcodes to Encoding.default_internal if it is set.
|
|
|
|
* net/imap
|
|
* new methods:
|
|
* Net::IMAP.default_port
|
|
* Net::IMAP.default_imap_port
|
|
* Net::IMAP.default_tls_port
|
|
* Net::IMAP.default_ssl_port
|
|
* Net::IMAP.default_imaps_port
|
|
|
|
* resolv
|
|
* new methods:
|
|
* Resolv::DNS#timeouts=
|
|
* Resolv::DNS::Config#timeouts=
|
|
|
|
=== Language changes
|
|
=== Compatibility issues (excluding feature bug fixes)
|
|
|
|
* Signal.trap
|
|
|
|
See above.
|
|
|
|
* incompatible changes:
|
|
The :close_others option is true by default for system() and exec().
|
|
Also, the close-on-exec flag is set by default for all new file descriptors.
|
|
This means file descriptors doesn't inherit to spawned process unless
|
|
explicitly requested such as system(..., fd=>fd).
|