Skip to content

Commit

Permalink
Fix typo in open param name
Browse files Browse the repository at this point in the history
  • Loading branch information
vapier authored and sunfishcode committed Oct 12, 2020
1 parent 4a562db commit a206794
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions phases/ephemeral/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1766,7 +1766,7 @@ The destination path at which to create the hard link.

---

#### <a href="#open" name="open"></a> `open(fd: fd, dirflags: lookupflags, path: string, oflags: oflags, fs_rights_base: rights, fs_rights_inherting: rights, fdflags: fdflags, permissions: permissions) -> (errno, fd)`
#### <a href="#open" name="open"></a> `open(fd: fd, dirflags: lookupflags, path: string, oflags: oflags, fs_rights_base: rights, fs_rights_inheriting: rights, fdflags: fdflags, permissions: permissions) -> (errno, fd)`
Open a file or directory.
The returned file descriptor is not guaranteed to be the lowest-numbered
file descriptor not currently open; it is randomized to prevent
Expand Down Expand Up @@ -1797,7 +1797,7 @@ The *base* rights are rights that will apply to operations using the file
descriptor itself, while the *inheriting* rights are rights that apply to
file descriptors derived from it.

- <a href="#open.fs_rights_inherting" name="open.fs_rights_inherting"></a> `fs_rights_inherting`: [`rights`](#rights)
- <a href="#open.fs_rights_inheriting" name="open.fs_rights_inheriting"></a> `fs_rights_inheriting`: [`rights`](#rights)

- <a href="#open.fdflags" name="open.fdflags"></a> `fdflags`: [`fdflags`](#fdflags)

Expand Down
2 changes: 1 addition & 1 deletion phases/ephemeral/witx/wasi_ephemeral_path.witx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
;;; descriptor itself, while the *inheriting* rights are rights that apply to
;;; file descriptors derived from it.
(param $fs_rights_base $rights)
(param $fs_rights_inherting $rights)
(param $fs_rights_inheriting $rights)
(param $fdflags $fdflags)
;;; If a file is created, the filesystem permissions to associate with it.
(param $permissions $permissions)
Expand Down
4 changes: 2 additions & 2 deletions phases/old/snapshot_0/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1752,7 +1752,7 @@ The destination path at which to create the hard link.

---

#### <a href="#path_open" name="path_open"></a> `path_open(fd: fd, dirflags: lookupflags, path: string, oflags: oflags, fs_rights_base: rights, fs_rights_inherting: rights, fdflags: fdflags) -> (errno, fd)`
#### <a href="#path_open" name="path_open"></a> `path_open(fd: fd, dirflags: lookupflags, path: string, oflags: oflags, fs_rights_base: rights, fs_rights_inheriting: rights, fdflags: fdflags) -> (errno, fd)`
Open a file or directory.
The returned file descriptor is not guaranteed to be the lowest-numbered
file descriptor not currently open; it is randomized to prevent
Expand Down Expand Up @@ -1783,7 +1783,7 @@ The *base* rights are rights that will apply to operations using the file
descriptor itself, while the *inheriting* rights are rights that apply to
file descriptors derived from it.

- <a href="#path_open.fs_rights_inherting" name="path_open.fs_rights_inherting"></a> `fs_rights_inherting`: [`rights`](#rights)
- <a href="#path_open.fs_rights_inheriting" name="path_open.fs_rights_inheriting"></a> `fs_rights_inheriting`: [`rights`](#rights)

- <a href="#path_open.fdflags" name="path_open.fdflags"></a> `fdflags`: [`fdflags`](#fdflags)

Expand Down
2 changes: 1 addition & 1 deletion phases/old/snapshot_0/witx/wasi_unstable.witx
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@
;;; descriptor itself, while the *inheriting* rights are rights that apply to
;;; file descriptors derived from it.
(param $fs_rights_base $rights)
(param $fs_rights_inherting $rights)
(param $fs_rights_inheriting $rights)
(param $fdflags $fdflags)
(result $error $errno)
;;; The file descriptor of the file that has been opened.
Expand Down
4 changes: 2 additions & 2 deletions phases/snapshot/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1749,7 +1749,7 @@ The destination path at which to create the hard link.

---

#### <a href="#path_open" name="path_open"></a> `path_open(fd: fd, dirflags: lookupflags, path: string, oflags: oflags, fs_rights_base: rights, fs_rights_inherting: rights, fdflags: fdflags) -> (errno, fd)`
#### <a href="#path_open" name="path_open"></a> `path_open(fd: fd, dirflags: lookupflags, path: string, oflags: oflags, fs_rights_base: rights, fs_rights_inheriting: rights, fdflags: fdflags) -> (errno, fd)`
Open a file or directory.
The returned file descriptor is not guaranteed to be the lowest-numbered
file descriptor not currently open; it is randomized to prevent
Expand Down Expand Up @@ -1780,7 +1780,7 @@ The *base* rights are rights that will apply to operations using the file
descriptor itself, while the *inheriting* rights are rights that apply to
file descriptors derived from it.

- <a href="#path_open.fs_rights_inherting" name="path_open.fs_rights_inherting"></a> `fs_rights_inherting`: [`rights`](#rights)
- <a href="#path_open.fs_rights_inheriting" name="path_open.fs_rights_inheriting"></a> `fs_rights_inheriting`: [`rights`](#rights)

- <a href="#path_open.fdflags" name="path_open.fdflags"></a> `fdflags`: [`fdflags`](#fdflags)

Expand Down
2 changes: 1 addition & 1 deletion phases/snapshot/witx/wasi_snapshot_preview1.witx
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@
;;; descriptor itself, while the *inheriting* rights are rights that apply to
;;; file descriptors derived from it.
(param $fs_rights_base $rights)
(param $fs_rights_inherting $rights)
(param $fs_rights_inheriting $rights)
(param $fdflags $fdflags)
(result $error $errno)
;;; The file descriptor of the file that has been opened.
Expand Down

0 comments on commit a206794

Please sign in to comment.