mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: "Javeed Shaikh" <syscrash2k@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: TIOCGWINSZ retuns old pty size after receiving SIGWINCH
Date: Wed, 13 Aug 2008 10:20:17 +0100	[thread overview]
Message-ID: <20080813102017.5f5a579b@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <12e8e7240808121658r3f7fb75cre6fb258959742ea3@mail.gmail.com>

On Tue, 12 Aug 2008 19:58:20 -0400
"Javeed Shaikh" <syscrash2k@gmail.com> wrote:

> I appear to have fixed it.

You've moved the race.

> It seems that SIGWINCH was being fired off before the tty's size was
> updated, as Ico hypothesized.

There is what I believe to be a correct fix in the -next tree. It is a
bit invasive for 2.6.27 given we are in the -rc tree but I could push the
relevant pieces if the problem justifies the risk

Alan

  reply	other threads:[~2008-08-13  9:37 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-12  2:51 Javeed Shaikh
2008-08-12  4:03 ` Javeed Shaikh
2008-08-12 23:58   ` Javeed Shaikh
2008-08-13  9:20     ` Alan Cox [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-10-05 12:17 Kanru Chen
2008-10-05 11:39 Kanru Chen
2008-10-05 12:03 ` Alan Cox
2008-10-03 16:08 Christoph
2008-08-10 15:08 Ico Doornekamp
2008-08-19  7:40 ` Andrew Morton
2008-08-19  7:54   ` Ico Doornekamp
2008-08-19  8:07     ` Andrew Morton
2008-08-19 11:44       ` Ico Doornekamp
2008-08-19 17:56         ` Ico Doornekamp
2008-08-19 19:03           ` Andrew Morton
2008-08-19 20:13             ` Ico Doornekamp
2008-08-19 20:49               ` Andrew Morton
2008-08-20  7:22                 ` Ico Doornekamp

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=20080813102017.5f5a579b@lxorguk.ukuu.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syscrash2k@gmail.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

all inboxes | Powered by JetHome®