mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 09:06:15 +02:00
a1ccf60613
Few filesystem-related tests rely on PATH_MAX for buffers, and PATH_MAX is optional in POSIX (and not available on the Hurd). To make them build and pass, provide a fallback definition of PATH_MAX in case not available. Ideally speaking, the tests ought to not unconditionally rely on PATH_MAX, do alternative strategies (e.g. dynamically allocate buffers, expand them as needed, etc); OTOH this is test code, so it would be more work that what it would be worth, so IMHO the define fallback is good enough. |
||
---|---|---|
.. | ||
data/git | ||
.version | ||
args.cc | ||
build-utils-meson | ||
canon-path.cc | ||
chunked-vector.cc | ||
closure.cc | ||
compression.cc | ||
config.cc | ||
file-content-address.cc | ||
git.cc | ||
hash.cc | ||
hilite.cc | ||
json-utils.cc | ||
local.mk | ||
logging.cc | ||
lru-cache.cc | ||
meson.build | ||
nix_api_util.cc | ||
package.nix | ||
pool.cc | ||
position.cc | ||
references.cc | ||
spawn.cc | ||
strings.cc | ||
suggestions.cc | ||
tests.cc | ||
url.cc | ||
xml-writer.cc |