nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] [PATCH] winio: fix initial state of blocking-io


From: lion
Subject: Re: [Nano-devel] [PATCH] winio: fix initial state of blocking-io
Date: Wed, 08 Nov 2017 14:11:16 +0800

2017-11-07 03:33 に Benno Schulenberg さんは書きました:
Op 04-11-17 om 16:16 schreef Lion Yang:
winio.c assumes waiting_mode = TRUE but stdin can be non-blocking when a program (before nano) turned stdin to non-blocking mode and did not recover it (or crashed before recovering blocking mode). This commit set stdin blocking
mode in nano.c

Thanks for that.  I've added one error check (because we don't want
to try and clear a flag when the first call of fcntl() failed).  If
you're okay with it, please add your Sign-off.

Benno

Yes, it is better now, looks good to me.
Please check the attachment.

(Re-sending this because I forgot cc to the list)

Lion

Attachment: 0001-input-ensure-that-standard-input-uses-blocking-mode.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]