Skip to content

Commit

Permalink
Change hard link count to 64-bits. (#127)
Browse files Browse the repository at this point in the history
This commit changes the type for `__wasi_linkcount_t` to 64-bits to support
large link counts.

Fixes #70.
  • Loading branch information
peterhuene authored and sunfishcode committed Oct 31, 2019
1 parent f5d6ef0 commit 5a8d999
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion phases/ephemeral/docs/wasi_ephemeral_preview.md
Original file line number Diff line number Diff line change
Expand Up @@ -1807,7 +1807,7 @@ Members:

The address and length of the buffer to be filled.

### <a href="#linkcount" name="linkcount"></a>`__wasi_linkcount_t` (`uint32_t`)
### <a href="#linkcount" name="linkcount"></a>`__wasi_linkcount_t` (`uint64_t`)

Number of hard links to an inode.

Expand Down
2 changes: 1 addition & 1 deletion phases/ephemeral/witx/typenames.witx
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@
)

;; Number of hard links to an inode.
(typename $linkcount_t u32)
(typename $linkcount_t u64)

;; File attributes.
(typename $filestat_t
Expand Down

0 comments on commit 5a8d999

Please sign in to comment.