| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unbuffer is part of expect, which is not actively maintained. This
recently led to a CI failure on NetBSD which looked like
can't find package Expect
while executing
"package require Expect"
(file "/usr/pkg/bin/unbuffer" line 6)
Rather than debug this, I just reimplemented unbuffer myself. This also
reduces our test dependencies, which is nice.
Link: https://sourceforge.net/p/expect/bugs/107/
Link: https://github.com/tavianator/bfs/actions/runs/14421150823/job/40444068385
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This lets us do more traditional out-of-tree builds like
$ ../path/to/bfs/configure
$ make
The .mk files are moved from ./config to ./build, mostly so that
./configure will auto-complete easily.
|
| |
|
|
|
|
|
| |
Rather than attempting to close any unexpected FDs, just count them and
adjust our ulimit -n calls to account for them.
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, we hardcoded file descriptors 3 and 4 for duplicating
stdandard output/error respectively. In preparation for keeping
inherited FDs open, switch to using bash's variable redirection feature
to dynamically assign FDs.
This feature is only available from bash 4.1 onwards, so this marks the
end of our support for bash 3. macOS users will need to install a
modern bash version to run our tests.
|
| |
|
| |
|
| |
|
|
|
|
| |
This was only added in Bash 4.3 which is too new for macOS.
|
|
|