]> git.ipfire.org Git - thirdparty/util-linux.git/commit
su: (pty) simplify stdin usage in poll()
authorKarel Zak <kzak@redhat.com>
Thu, 7 Sep 2017 09:23:50 +0000 (11:23 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 18 Sep 2017 09:49:11 +0000 (11:49 +0200)
commit5328d8e7e8dbb968ba2aa83f98cf132a14266483
tree5dc34df2745d6a56186bda546a1d2e4c8c4d7ea4
parentd88b739fbac2ca708d7077db4b59d1723830426d
su: (pty) simplify stdin usage in poll()

Not sure why I have problem with this years ago for script(1), but it
seems .fd=-1 is really enough to the ignore the FD.

Reported-by: Vaclav Dolezal <vdolezal@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/su-common.c