Skip to content

fix: modifiable and ordered permissions, sorted user attributes - #86

Open
andreaTP wants to merge 1 commit into
mainfrom
fix/posix-permissions-order
Open

andreaTP wants to merge 1 commit into
mainfrom
fix/posix-permissions-order

Conversation

@andreaTP

Copy link
Copy Markdown
  • PosixFileAttributes.permissions() returns a modifiable copy (port of google/jimfs@7c6a430)
  • permissions iterate in enum order and UserDefinedFileAttributeView.list() is sorted, instead of a random per-JVM order from Set.copyOf

Checked with Endive (wasi-tests, machine-tests, wabt, Zig stdlib suite): no regressions.

PosixFileAttributes.permissions() returns a modifiable copy (port of
google/jimfs@7c6a430). Permissions and user attribute names no longer
iterate in a random per-JVM order.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant