summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorBurdette Lamar <[email protected]>2024-02-20 15:10:52 -0600
committerGitHub <[email protected]>2024-02-20 16:10:52 -0500
commitd4b4b53bc02c7bc12f3cba75c8390a8ab27e9306 (patch)
tree91bd7149d53c05222b0efca8977b138b129504df /file.c
parentb3c13de858d0dbe4e3965485d47da58b6960cb64 (diff)
[DOC] Fix links in doc (#9970)
Diffstat (limited to 'file.c')
-rw-r--r--file.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/file.c b/file.c
index dbc34b1085..718ecaf2a0 100644
--- a/file.c
+++ b/file.c
@@ -7665,11 +7665,13 @@ Init_File(void)
*
* Flag File::BINARY specifies that the stream is to be accessed in binary mode.
*
- * ==== File::SHARE_DELETE (Windows Only)
+ * ==== File::SHARE_DELETE
*
* Flag File::SHARE_DELETE enables other processes to open the stream
* with delete access.
*
+ * Windows only.
+ *
* If the stream is opened for (local) delete access without File::SHARE_DELETE,
* and another process attempts to open it with delete access,
* the attempt fails and the stream is not opened for that process.
@@ -7744,9 +7746,11 @@ Init_File(void)
* do not match the directory separator
* (the value of constant File::SEPARATOR).
*
- * ==== File::FNM_SHORTNAME (Windows Only)
+ * ==== File::FNM_SHORTNAME
+ *
+ * Flag File::FNM_SHORTNAME allows patterns to match short names if they exist.
*
- * Flag File::FNM_SHORTNAME Allows patterns to match short names if they exist.
+ * Windows only.
*
* ==== File::FNM_SYSCASE
*
@@ -7799,7 +7803,7 @@ Init_File(void)
#ifndef O_SHARE_DELETE
# define O_SHARE_DELETE 0
#endif
- /* {File::SHARE_DELETE}[rdoc-ref:File::Constants@File-3A-3ASHARE_DELETE+-28Windows+Only-29] */
+ /* {File::SHARE_DELETE}[rdoc-ref:File::Constants@File-3A-3ASHARE_DELETE] */
rb_define_const(rb_mFConst, "SHARE_DELETE", INT2FIX(O_SHARE_DELETE));
#ifdef O_SYNC
/* {File::SYNC}[rdoc-ref:File::Constants@File-3A-3ASYNC-2C+File-3A-3ARSYNC-2C+and+File-3A-3ADSYNC] */