From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: textmode for stdout, what is "correct" now?
Date: Fri, 15 Feb 2019 20:35:00 -0000 [thread overview]
Message-ID: <20190215203108.GN2702@calimero.vinschen.de> (raw)
In-Reply-To: <6d02258d-115d-135c-1404-1b02eec34045@ssi-schaefer.com>
[-- Attachment #1: Type: text/plain, Size: 1176 bytes --]
On Feb 15 19:07, Michael Haubenwallner wrote:
> On 2/15/19 1:48 PM, Corinna Vinschen wrote:
> > On Feb 15 13:03, Michael Haubenwallner wrote:
> >> On 2/15/19 11:22 AM, Corinna Vinschen wrote:
> >>> On Feb 15 08:56, Michael Haubenwallner wrote:
> >>>> On 2/14/19 5:20 PM, Corinna Vinschen wrote:
> >>>>> On Feb 14 16:23, Michael Haubenwallner wrote:
> >>>>>> Hi,
> >>>>>> [SNIP]
> >>>> Down the line in their BIO module they do use setmode(fd, O_TEXT),
> >>>> which is the one that does introduce the \r, as far as I know.
> >>>
> >>> This one is not so nice. Somebody should tell upstream we only
> >>> want explicit O_BINARY these days, but no explicit O_TEXT.
>
> To me it sounds strange to use the one but not the other:
>
> If we don't want O_TEXT at all, isn't O_BINARY obsolete as well,
> so the advise should be to use neither - just like real *nix?
No, on text mode mounts O_BINARY makes sure that the result is
actually a binary file.
> A consequence then might be to deprecate (or even remove) them
> from the public API header files.
As long as we have text mode mounts, no.
Corinna
--
Corinna Vinschen
Cygwin Maintainer
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2019-02-15 20:31 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-14 16:05 Michael Haubenwallner
2019-02-14 18:51 ` Corinna Vinschen
2019-02-15 9:31 ` Michael Haubenwallner
2019-02-15 10:28 ` Corinna Vinschen
2019-02-15 12:48 ` Michael Haubenwallner
2019-02-15 12:49 ` Corinna Vinschen
2019-02-15 18:25 ` Michael Haubenwallner
2019-02-15 20:35 ` Corinna Vinschen [this message]
2019-02-16 9:39 ` Michael Haubenwallner
2019-02-16 9:40 ` Corinna Vinschen
2019-02-16 17:40 ` Michael Haubenwallner
2019-02-17 0:11 ` Corinna Vinschen
2019-02-18 10:01 ` Michael Haubenwallner
2019-02-18 10:43 ` Corinna Vinschen
2019-02-18 12:15 ` Michael Haubenwallner
2019-02-18 13:39 ` Corinna Vinschen
2019-02-18 15:13 ` Michael Haubenwallner
2019-02-18 16:04 ` Corinna Vinschen
2019-02-15 14:20 ` Andrey Repin
2019-02-15 18:50 ` portable use of dos2unix WAS: " Michael Haubenwallner
2019-02-15 19:14 ` Andrey Repin
2019-02-15 19:43 ` Michael Haubenwallner
2019-02-15 20:50 ` Andrey Repin
2019-02-15 21:21 ` Corinna Vinschen
2019-02-18 10:09 ` Michael Haubenwallner
2019-02-18 10:26 ` Corinna Vinschen
2019-02-18 13:07 ` Jeffrey Walton
2019-02-15 21:32 ` Brian Inglis
2019-02-16 6:09 ` Jeffrey Walton
2019-02-16 9:45 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190215203108.GN2702@calimero.vinschen.de \
--to=corinna-cygwin@cygwin.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).