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

2018-07-04 Thread Corinna Vinschen
On Jul 3 15:40, Corinna Vinschen wrote: > On Jul 3 19:18, Takashi Yano wrote: > > 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,

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

2018-07-03 Thread Corinna Vinschen
On Jul 3 19:18, Takashi Yano wrote: > 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

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

2018-07-03 Thread Takashi Yano
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 > >

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

2018-06-27 Thread Takashi Yano
On Wed, 27 Jun 2018 20:01:16 +0900 Takashi Yano wrote: > Simple test case (chkperror.c) attached checks this behavior. The test case seems to be garbled, so I re-submit it compressed by gzip. -- Takashi Yano chkperror.c.gz Description: Binary data -- Problem reports: