public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: cygwin-patches@cygwin.com
Subject: Re: [PATCH 2/2] Cygwin: fstat(): Fix st_rdev returned by fstat() for /dev/tty.
Date: Sat, 8 Jul 2023 08:01:27 +0900	[thread overview]
Message-ID: <20230708080127.1b8a0be63e3c1a2acc472c24@nifty.ne.jp> (raw)
In-Reply-To: <ZKfkrrnMdbVv0N11@calimero.vinschen.de>

On Fri, 7 Jul 2023 12:10:54 +0200
Corinna Vinschen wrote:
> On Jul  7 12:34, Takashi Yano wrote:
> > While st_rdev returned by fstat() for /dev/tty should be FH_TTY,
> > the current cygwin1.dll returns FH_PTYS+minor or FH_CONS+minor.
> > Similarly, fstat() does not return correct value for /dev/console,
> > /dev/conout, /dev/conin or /dev/ptmx.
> > 
> > This patch fixes the issue by:
> > 1) Introduce dev_refered_via in fhandler_termios.
>                        ^
>                dev_referred_via, please

Thansk!

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

      reply	other threads:[~2023-07-07 23:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-07  3:34 [PATCH 0/2] Fix issues of stat()/fstat() " Takashi Yano
2023-07-07  3:34 ` [PATCH 1/2] Cygwin: stat(): Fix "Bad address" error on stat() " Takashi Yano
2023-07-07  9:46   ` Corinna Vinschen
2023-07-07 22:59     ` Takashi Yano
2023-07-10  8:31       ` Corinna Vinschen
2023-07-07  3:34 ` [PATCH 2/2] Cygwin: fstat(): Fix st_rdev returned by fstat() " Takashi Yano
2023-07-07 10:10   ` Corinna Vinschen
2023-07-07 23:01     ` Takashi Yano [this message]

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=20230708080127.1b8a0be63e3c1a2acc472c24@nifty.ne.jp \
    --to=takashi.yano@nifty.ne.jp \
    --cc=cygwin-patches@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).