wasi-libc
wasi-libc copied to clipboard
adjust S_IFIFO to avoid collisions
S_IFIFO currently has the same value as S_IFSOCK which breaks code that does things like "switch (mode & S_IFMT)" as we end up with duplicate labels. Move S_IFIFO to a unique unused value.
i guess more importantly, the current defines make it impossible to differentiate between fifos & sockets :)
all of that sounds fine. i'll try to tackle it when i get a chance. thx!
i posted https://github.com/WebAssembly/WASI/pull/189 to add FIFO filetype
my WASI PR is merged now. was there something else needed here before merging?
Before we merge changes into wasi-libc which WASI implementations will need to support, we'll need the WASI Subgroup to publish a new snapshot. There isn't a specific schedule for that yet, but it hopefully won't be too long.
i think a new snapshot has been posted by now ? so can we merge ?
Unfortunately no, we have not published a new snapshot yet. Snapshot 2 is set to include modularization, which requires updates to the witx tooling, which is not finished yet. Hopefully once we're past this milestone, subsequent snapshots can be published more frequently.