From: normalperson@... Date: 2017-10-04T20:47:55+00:00 Subject: [ruby-core:83111] [Ruby trunk Bug#13972] [PATCH] document File.{setuid?, setgid?, sticky?} support for IO objects Issue #13972 has been reported by normalperson (Eric Wong). ---------------------------------------- Bug #13972: [PATCH] document File.{setuid?,setgid?,sticky?} support for IO objects https://bugs.ruby-lang.org/issues/13972 * Author: normalperson (Eric Wong) * Status: Open * Priority: Normal * Assignee: * 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: