Bruno Haible <[email protected]> writes: > Find attached a proposed patch. With it, I get on both GNU/Linux and > OpenBSD: > > $ LC_ALL=C ./src/sort -S 1k --compress-program=missing Makefile|wc -l > sort: could not run compress program 'missing': No such file or directory > 30279 > > and the test failure on OpenBSD is gone.
Great, thanks! Can't we change the call to posix_spawnp to posix_spawn to prevent scanning $PATH twice? That is what the example that you linked from GNU make does. Collin
