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

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Hi Eric,

On Jul  2 06:36, Eric Blake wrote:
> On 07/02/2018 05:28 AM, 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.
> 
> If nothing else, it at least would mean fewer variations in practice,
> regardless of whether POSIX is changed to relax things (the POSIX discussion
> has been started, but it may be a while before any conclusion is reached;
> what's more, the C99 standard tried to address it in TC2
> (http://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_276.htm) but then
> withdrew that in TC3 because the attempted resolution conflicted with the
> POSIX wording (http://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_322.htm).

Thanks for keeping us informed!


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAls6Rw4ACgkQ9TYGna5E
T6AYFRAAnmT4YclLjj8OU/RPKPtLFQ1DX+G12YrhtuX9peGW+sa0GIA00rjlton0
CHLtsOi1QkylypdXbDcb7n8u5cjfO74WGmq97Aet+xJKwDqzadtqblcaY4acVOoC
Qhtbg2pwG8oKK1SQs8pk1qJgW0aNxpDNTgc+mGPdqJB7xls79S9YTyDwalybA2Kk
Vnyh7nBvfJ2EbOV/MRcfD8xNaCCJmh1qT8Wthb1ZZdj2jc1twnNkovR1YFLnvDRp
9Lm1fCirBvJDxLzLfycWJ7Ap7Oxw3RVNkvjV99eeWfEcOmeM/ptqUSIHg1t64iql
bDNdXqNRbgdzgHQyJidXhQRkZeqa2IS7+ZVA/Sd+/lAGkWI2nLVghB0d9ZhnIYJw
At02dFGzPXDRN3wTuijTivatEGomQtUvLIL7ZcGdfAsmDfJgwUcWy/loo0eBzEda
vVL1BWlC4F5btMCZzXWY/ME+bi3ObOD1DjoCWL4KBQ/u0Z+zvy+p8QizTZTX3iOk
lZ9+88+aGUwI5iJHzIw9STRr2obHBaUUTCFSnEGs9rUKB/WmjRBL1zoBI44//333
ZhdbaLT0Qm6BtxWBegQ1UOQFrQZWZ3Ip3xXZqryJFf9AgrY3lTrRScXfCLH/tC5N
F9cnLRZTwnAVHp7o0rB4CI2X/3Nl4dV7E+2knXALD2H51bZw3io=
=AqEb
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.