perror() changes the orientation of stderr to byte-oriented mode if stderr is not oriented yet.

Takashi Yano
Tue Jul 3 10:18:00 GMT 2018

Hi Corinna,

On Mon, 2 Jul 2018 12:28:38 +0200
Corinna Vinschen wrote:
> > By the way, I have noticed that psignal() and psiginfo() also have the
> > same problem. psignal() belongs to newlib, so the same strategy can
> > be applied. However, what can we do for psiginfo()? Only the FreeBSD
> > route may be the answer...
> I guess the simplest solution is to use the FreeBSD/OpenBSD method
> all the time.

This is for fixing psiginfo().

Takashi Yano <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-a-bug-of-psiginfo-that-changes-the-orientation-o.patch
Type: application/octet-stream
Size: 2519 bytes
Desc: not available
URL: <>

More information about the Cygwin-patches mailing list