From da613cb59db8fbe5692afdf7697a28476113e3b1 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 26 Oct 2024 19:42:10 +0200 Subject: [PATCH] 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. --- ChangeLog | 8 ++++++++ lib/pipe-filter.h | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) 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 -- 2.39.5