在 2026-6-21 22:35, Pali Rohár 写道:
There is no need to use explicit sizeof(buf) as pipe buffer size. System defaults should be fine.CRT _pipe() function should be just a wrapper around WinAPI CreatePipe() function and zero value as pipe buffer size argument for WinAPI CreatePipe() function is documented as the system default buffer size: https://learn.microsoft.com/en-us/windows/win32/api/namedpipeapi/nf-namedpipeapi-createpipe --- mingw-w64-crt/testcases/t_assert.c | 2 +- mingw-w64-crt/testcases/t_safe_flush.c | 2 +- mingw-w64-crt/testcases/t_stderr_buffering.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
Thanks. Pushed now. -- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
