From: Bruno Haible Date: Sat, 26 Oct 2024 17:42:10 +0000 (+0200) Subject: pipe-filter-gi: Correct documentation. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=da613cb59db8fbe5692afdf7697a28476113e3b1;p=gnulib.git pipe-filter-gi: Correct documentation. Reported by Miro Palmu in . * lib/pipe-filter.h (pipe_filter_gi_create): Don't say that this function may return NULL. --- diff --git a/ChangeLog b/ChangeLog index 22964511df..fb09c3b0b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2024-10-26 Bruno Haible + + pipe-filter-gi: Correct documentation. + Reported by Miro Palmu in + . + * lib/pipe-filter.h (pipe_filter_gi_create): Don't say that this + function may return NULL. + 2024-10-16 Bruno Haible pthread-h tests: Fix a compilation error on MacOS X 10.4. diff --git a/lib/pipe-filter.h b/lib/pipe-filter.h index 4d116f26ff..1e0ca9b307 100644 --- a/lib/pipe-filter.h +++ b/lib/pipe-filter.h @@ -185,7 +185,7 @@ extern int - If exit_on_error is true, any error will cause the main process to exit with an error status. If the subprocess does not start correctly, exit if exit_on_error is - true, otherwise return NULL and set errno. + true. The caller will write to the subprocess through pipe_filter_gi_write and finally call pipe_filter_gi_close. During such calls, the