I found that "ps | cat" outputs nothing with the current git head (master)
of newlib-cygwin. However, just "ps" and "ls | cat" works.

This happens after the commit:

commit 26747c47bc0a1137e02e0377306d721cc3478855
Author: Matt Joyce <matthew.jo...@embedded-brains.de>
Date:   Tue May 3 06:51:22 2022 +0200

    Add stdio_exit_handler()

    Add a dedicated stdio exit handler to avoid using _GLOBAL_REENT in exit().


Is this the problem of cygwin side? Or newlib?

I also found "stdbuf -o 0 ps | cat" works. It seems that this problem is
caused by buffering of stdout.

-- 
Takashi Yano <takashi.y...@nifty.ne.jp>

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to