File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -1170,11 +1170,6 @@ WASI.</p>
11701170</ul >
11711171<h4 ><a name =" method_descriptor_open_at " ></a ><code >[method]descriptor.open-at: func</code ></h4 >
11721172<p >Open a file or directory.</p >
1173- <p >The returned descriptor is not guaranteed to be the lowest-numbered
1174- descriptor not currently open/ it is randomized to prevent applications
1175- from depending on making assumptions about indexes, since this is
1176- error-prone in multi-threaded contexts. The returned descriptor is
1177- guaranteed to be less than 2** 31.</p >
11781173<p >If <code >flags</code > contains <a href =" #descriptor_flags.mutate_directory " ><code >descriptor-flags::mutate-directory</code ></a >, and the base
11791174descriptor doesn't have <a href =" #descriptor_flags.mutate_directory " ><code >descriptor-flags::mutate-directory</code ></a > set,
11801175<code >open-at</code > fails with <a href =" #error_code.read_only " ><code >error-code::read-only</code ></a >.</p >
Original file line number Diff line number Diff line change @@ -523,12 +523,6 @@ interface types {
523523
524524 /// Open a file or directory.
525525 ///
526- /// The returned descriptor is not guaranteed to be the lowest-numbered
527- /// descriptor not currently open/ it is randomized to prevent applications
528- /// from depending on making assumptions about indexes, since this is
529- /// error-prone in multi-threaded contexts. The returned descriptor is
530- /// guaranteed to be less than 2** 31.
531- ///
532526 /// If `flags` contains `descriptor-flags::mutate-directory` , and the base
533527 /// descriptor doesn't have `descriptor-flags::mutate-directory` set,
534528 /// `open-at` fails with `error-code::read-only` .
You can’t perform that action at this time.
0 commit comments