]> git.ipfire.org Git - thirdparty/util-linux.git/commit - configure.ac
more: replace siglongjmp() and signal() calls with signalfd()
authorSami Kerola <kerolasa@iki.fi>
Wed, 18 Mar 2020 20:12:51 +0000 (20:12 +0000)
committerSami Kerola <kerolasa@iki.fi>
Fri, 27 Mar 2020 21:06:01 +0000 (21:06 +0000)
commit823ef319b67ea232c87dc0fdb40ddb1570e1e9ad
tree23dc5bed7863994aa3e68bbda8e851bb4b8b7e8e
parenta971746370b5ec3f923f31dcc2ab51e2975ef6fb
more: replace siglongjmp() and signal() calls with signalfd()

From man siglongjmp(3) 'longjmp() and siglongjmp() make programs hard to
understand and maintain.  If possible, an alternative should be used.'  That
manual page remark summarizes quite well why more(1) needs to move away from
jumping around.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
configure.ac
text-utils/more.c