diff --git a/NEWS b/NEWS index e05c7fa8ba..fa51d256cf 100644 --- a/NEWS +++ b/NEWS @@ -102,6 +102,10 @@ with all sufficient information, see the ChangeLog file or Redmine * Kernel.#system takes :exception option to raise an exception on failure. [Feature #14386] + * incompatible changes: + * system() and exec() do not close non-standard file descriptors + (The default of :close_others option is changed to false by default.) + * KeyError * KeyError#initialize accepts :receiver and :key options to set receiver and key in Ruby code. [Feature #14313] diff --git a/doc/NEWS-2.0.0 b/doc/NEWS-2.0.0 index 5c9f5bdc53..414789dcd1 100644 --- a/doc/NEWS-2.0.0 +++ b/doc/NEWS-2.0.0 @@ -94,7 +94,7 @@ with all sufficient information, see the ChangeLog file. required caller size. * Kernel#to_enum and enum_for accept a block for lazy size evaluation. * incompatible changes: - * system() and exec() closes non-standard file descriptors + * system() and exec() close non-standard file descriptors (The default of :close_others option is changed to true by default.) * respond_to? against a protected method now returns false unless the second argument is true. @@ -528,4 +528,3 @@ with all sufficient information, see the ChangeLog file. * NUM2SHORT() and NUM2USHORT() added. They are similar to NUM2INT, but short. * rb_newobj_of() and NEWOBJ_OF() added. They create a new object of a given class. -