[DOC] Remove unknown markup or macro [ci skip]

Also remove the ancient word "Windows NT".
This commit is contained in:
Nobuyoshi Nakada 2022-10-05 19:35:36 +09:00
parent 83a6213f31
commit 139e79e5a9
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

7
file.c
View File

@ -4900,7 +4900,7 @@ rb_file_dirname_n(VALUE fname, int n)
* dotfile top 0 * dotfile top 0
* end with dot dot 1 * end with dot dot 1
* .ext dot len of .ext * .ext dot len of .ext
* .ext:stream dot len of .ext without :stream (NT only) * .ext:stream dot len of .ext without :stream (NTFS only)
* *
*/ */
const char * const char *
@ -5377,8 +5377,7 @@ test_check(int n, int argc, VALUE *argv)
* "d" | boolean | True if file1 exists and is a directory * "d" | boolean | True if file1 exists and is a directory
* "e" | boolean | True if file1 exists * "e" | boolean | True if file1 exists
* "f" | boolean | True if file1 exists and is a regular file * "f" | boolean | True if file1 exists and is a regular file
* "g" | boolean | True if file1 has the \CF{setgid} bit * "g" | boolean | True if file1 has the setgid bit set
* | | set (false under NT)
* "G" | boolean | True if file1 exists and has a group * "G" | boolean | True if file1 exists and has a group
* | | ownership equal to the caller's group * | | ownership equal to the caller's group
* "k" | boolean | True if file1 exists and has the sticky bit set * "k" | boolean | True if file1 exists and has the sticky bit set
@ -5809,7 +5808,7 @@ rb_stat_rowned(VALUE obj)
* stat.grpowned? -> true or false * stat.grpowned? -> true or false
* *
* Returns true if the effective group id of the process is the same as * Returns true if the effective group id of the process is the same as
* the group id of <i>stat</i>. On Windows NT, returns <code>false</code>. * the group id of <i>stat</i>. On Windows, returns <code>false</code>.
* *
* File.stat("testfile").grpowned? #=> true * File.stat("testfile").grpowned? #=> true
* File.stat("/etc/passwd").grpowned? #=> false * File.stat("/etc/passwd").grpowned? #=> false