]> git.ipfire.org Git - thirdparty/util-linux.git/commit
agetty: use O_NONBLOCK only for serial lines with CLOCAL
authorKarel Zak <kzak@redhat.com>
Thu, 13 Jun 2013 09:06:13 +0000 (11:06 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 13 Jun 2013 09:30:02 +0000 (11:30 +0200)
commit714cff30fd94d7fe6c7a8c6a1b4aa6cc8abd2ca7
tree61fde98614e7bf000b20eb0a9f79badedc8da215
parent76b86412c607ba47f43ef7c0535436bca2a660d2
agetty: use O_NONBLOCK only for serial lines with CLOCAL

 * regression introduced by ef264c830effc91add6da334204215f61eb8515e

 * also increase sleep when O_NONBLOCK used (grr.. this is so stupid
   thing, do we really need O_NONBLOCK for the stupid serial lines?)

References: https://bugzilla.redhat.com/show_bug.cgi?id=972457
Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/agetty.c