You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is handy to pass "streaming" content as input to build -i, e.g., by using shell process substitution like this: build -i <(zstdcat foo.txt.zst).
Unfortunately that does not work when --external is used.
Apparently in that case (and only in that case) the input file passed to -i is mmap-ed, which obviously fail when the input file is not a regular file (a FIFO, in the case of process substitution).
Would it be possible to either avoid mmap-ing the input file even when --external is used or, alternatively, to have an option to inhibit that selectively?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi @zacchiro,
now it should be done, as of 0d09102.
Now, if you specify --external it does not use mmap anymore by default. To enable mmap, use --mmap.
It is handy to pass "streaming" content as input to
build -i
, e.g., by using shell process substitution like this:build -i <(zstdcat foo.txt.zst)
.Unfortunately that does not work when
--external
is used.Apparently in that case (and only in that case) the input file passed to
-i
is mmap-ed, which obviously fail when the input file is not a regular file (a FIFO, in the case of process substitution).Would it be possible to either avoid mmap-ing the input file even when
--external
is used or, alternatively, to have an option to inhibit that selectively?Thanks!
The text was updated successfully, but these errors were encountered: