]> Savannah Git Hosting - gnulib.git/commitdiff
pipe-filter-gi: Correct documentation.
authorBruno Haible <bruno@clisp.org>
Sat, 26 Oct 2024 17:42:10 +0000 (19:42 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 12 Nov 2024 00:35:30 +0000 (01:35 +0100)
Reported by Miro Palmu <email@miropalmu.cc> in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-10/msg00199.html>.

* lib/pipe-filter.h (pipe_filter_gi_create): Don't say that this
function may return NULL.

ChangeLog
lib/pipe-filter.h

index 22964511df4c6abdbade4ab949da185627c2fa78..fb09c3b0b267a687c6e26e6441c1db1b294dfdb0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2024-10-26  Bruno Haible  <bruno@clisp.org>
+
+       pipe-filter-gi: Correct documentation.
+       Reported by Miro Palmu <email@miropalmu.cc> in
+       <https://lists.gnu.org/archive/html/bug-gnulib/2024-10/msg00199.html>.
+       * lib/pipe-filter.h (pipe_filter_gi_create): Don't say that this
+       function may return NULL.
+
 2024-10-16  Bruno Haible  <bruno@clisp.org>
 
        pthread-h tests: Fix a compilation error on MacOS X 10.4.
index 4d116f26ff63319dbd40f85db93cb7774d55a145..1e0ca9b307528c7edaef80bb9712e350d288de40 100644 (file)
@@ -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