[ruby-core:88422] [Ruby trunk Bug#13972][Assigned] [PATCH] document File.{setuid?, setgid?, sticky?} support for IO objects

From: hsbt@...
Date: 2018-08-10 06:27:48 UTC
List: ruby-core #88422
Issue #13972 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Open to Assigned
Assignee set to docs

----------------------------------------
Bug #13972: [PATCH] document File.{setuid?,setgid?,sticky?} support for IO objects
https://bugs.ruby-lang.org/issues/13972#change-73476

* Author: normalperson (Eric Wong)
* Status: Assigned
* Priority: Normal
* Assignee: docs
* Target version: 
* ruby -v: 
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
Supporting bare IO objects which do not respond to #to_path
was accidentally introduced in r60108, but it seems harmless
enough.

* file.c (rb_file_setuid_p): rdoc for IO object support
  (rb_file_sgid_p): ditto
  (rb_file_sticky_p): ditto
* NEWS: inform users of new feature
* test/file/test_file_exhaustive.rb (io_open): wrapper for bare IO object
  (test_suid): test for bare IO support
  (test_sgid): ditto
  (test_sticky): ditto
  [ruby-core:83108]


---Files--------------------------------
0001-file.c-document-File.-setuid-setgid-sticky-support-f.patch (3.42 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next