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, 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().
> 
> Thanks, LGTM.  I'll push this depending on the discussion on newlib.

Pushed.


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat


signature.asc
Description: PGP signature


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 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().

Thanks, LGTM.  I'll push this depending on the discussion on newlib.


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat


signature.asc
Description: PGP signature


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
> > 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 


0001-Fix-a-bug-of-psiginfo-that-changes-the-orientation-o.patch
Description: Binary data


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:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple