mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Thorsten Glaser <tg@mirbsd.de>
To: musl@lists.openwall.com
Cc: Gil Pedersen <kanongil@gmail.com>
Subject: Re: [musl] bug: isatty() can return wrong value
Date: Tue, 20 Aug 2024 15:18:44 +0000 (UTC)	[thread overview]
Message-ID: <Pine.BSM.4.64L.2408201518100.15925@herc.mirbsd.org> (raw)
In-Reply-To: <20240820111100.GX10433@brightrain.aerifal.cx>

Rich Felker dixit:

>returning true for isatty() of a
>device that is absolutely not a tty is a much worse behavior than
>returning false for a device that is/was a tty when it was opened but
>that's been replaced by the kernel with a defunct device.

As isatty consumer (mksh) I agree.

bye,
//mirabilos
-- 
Gestern Nacht ist mein IRC-Netzwerk explodiert. Ich hatte nicht damit
gerechnet, darum bin ich blutverschmiert… wer konnte ahnen, daß SIE so
reagier’n… gestern Nacht ist mein IRC-Netzwerk explodiert~~~
	(as of 2021-06-15 The MirOS Project temporarily reconvenes on OFTC)

  reply	other threads:[~2024-08-20 15:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-20  9:50 Gil Pedersen
2024-08-20 11:11 ` Rich Felker
2024-08-20 15:18   ` Thorsten Glaser [this message]
2024-11-26 10:03   ` Gil Pedersen
2024-11-29  6:08     ` Rich Felker

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=Pine.BSM.4.64L.2408201518100.15925@herc.mirbsd.org \
    --to=tg@mirbsd.de \
    --cc=kanongil@gmail.com \
    --cc=musl@lists.openwall.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).