Repository navigation
Conversation
macOS libSystem has no `posix_fallocate`, and the declared extern failed to link the gpridge wheels. `libc::fallocate` is the Linux and Android binding. `libc::posix_fallocate` is the FreeBSD binding. macOS reserves the gap with `fcntl(F_PREALLOCATE)` and `File::set_len` sets the logical size, because `F_PREALLOCATE` does not. Both of those calls set `F_ALLOCATEALL`. `fcntl(2)` allows `F_ALLOCATECONTIG` alone to succeed after a short allocation, and returns `ENOSPC` for a shortfall only when `F_ALLOCATEALL` is set. Windows and every other host use `File::set_len`. A filesystem that returns `EOPNOTSUPP`, `ENOTSUP`, `ENOSYS`, or `EINVAL` still extends that way. `ENOSPC` and any other error are returned, and the file ends at the requested length. CON-bin uses the same helper. Kitline-Change: ksrqwnpsuvlqpmozvwnmsurzrskyupzn
the cpc manuscript does not belong in this repository. it now lives in a separate private repository, so this commit removes `paper/` and the tasks, workflow, and scripts that existed only to build it. the library, its benchmarks, and the records those benchmarks read stay here. the library tests still read `tests/corpus31/make_corpus31.py`, `tests/corpus31/manifest.toml`, `tests/fixtures/v31_large_ids.con`, and `tests/fixtures/survey_frame.con`. a campaign that still calls those scripts reads the checkout from `READCON_PAPER_ROOT` and stops when that variable is unset. Kitline-Change: ommwzyywtkzozmsuykqtxvkysurrmvmq
|
This PR is too large for Bugbot to review. It changes 136,890 lines and 3,887,337 characters. Split the change into smaller pull requests to get a review. |
Contributor
Author
|
Superseded by #140. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
the cpc manuscript does not belong in this repository. it now lives in
a separate private repository, so this commit removes
paper/and thetasks, workflow, and scripts that existed only to build it. the library,
its benchmarks, and the records those benchmarks read stay here.
the library tests still read
tests/corpus31/make_corpus31.py,tests/corpus31/manifest.toml,tests/fixtures/v31_large_ids.con, andtests/fixtures/survey_frame.con.a campaign that still calls those scripts reads the checkout from
READCON_PAPER_ROOTand stops when that variable is unset.Stacks on #138.