summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorsethp <seth.pellegrino@gmail.com>2023-10-02 08:20:09 -0700
committerGitHub <noreply@github.com>2023-10-02 08:20:09 -0700
commit0e78c24fd231d5ee67ccd271bfa317faa963281c (patch)
treee9c8192abf3409bfdca2bb06cce5571b6b184c5e /README.md
parentdddc03d3bc4df2bca26a880e8f078f84ea3d2454 (diff)
downloadwabt-0e78c24fd231d5ee67ccd271bfa317faa963281c.tar.gz
wabt-0e78c24fd231d5ee67ccd271bfa317faa963281c.tar.bz2
wabt-0e78c24fd231d5ee67ccd271bfa317faa963281c.zip
feat: treat non-seekable files as pipes (#2309)
Previously, attempting to read from a pipe would result in an error: 'not a regular file', disallowing use of files like /dev/stdin or /dev/fd/3, named fifos, sockets, etc. The tools already understand how to (try to) read from non-regular files, so this change attempts to do so when the input is not seek-able (the "regular file" capability that's in use here). Additionally, this adds a test for the new behavior using a bash herestring and process substitution (the latter of which shows up in argv as something like `/dev/fd/NN`). Since bash isn't commonly installed on Windows, this change also introduces a new capability to filter tests to specific platforms (sorry).
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions