* configure.ac: Test for check >= 0.9.10.
* tests/argstr.c, tests/basic.c, tests/exec.c, tests/inspect.c,
tests/pump.c, tests/read.c, tests/redirect.c: Replace uses of
fail_unless and fail_if with appropriate ck_assert_* calls. In most
cases these now use more specific equality etc. tests rather than just
passing arbitrary predicates.
* README: Document updated dependency.
* NEWS: Document this.
safe_read and safe_write return size_t and define SAFE_READ_ERROR and
SAFE_WRITE_ERROR as error return values. We had previously been
assigning their result to a signed value. As a result, whether
passthrough, pipeline_pump, and get_block would detect read/write errors
was implementation-defined.
* lib/pipeline.c (passthrough, get_block): Assign safe_read return value
to a size_t rather than a signed integer type, and check for
SAFE_READ_ERROR rather than negative values.
(pipeline_pump): Assign safe_write return value to a size_t rather than
an ssize_t, and check for SAFE_WRITE_ERROR rather than negative values.
* NEWS: Document this.
pipecmd_exec: Flush stdio in PIPECMD_FUNCTION case
This fixes a regression in eceb4fc9c1a800739f3876a5c9538376adc77876
where we could lose some output from functions that write to standard
output but don't explicitly flush.
* lib/pipeline.c (pipecmd_exec): Flush output streams before exiting in
the PIPECMD_FUNCTION case.
* lib/pipeline.h (pipeline_start): Document that FDs 0, 1, and 2 must be
open before calling this function.
* man/libpipeline.3 (pipeline_start): Likewise.
* bootstrap.conf (gnulib_modules): Add manywarnings.<Paste>
* configure.ac: Add gl_MANYWARN_ALL_GCC, with some refinements to disable
-Wsystem-headers, -Wmissing-field-initializers, and -Winline.