crontab: do not destroy STDIN_FILENO, editor may need it (crontab -e)
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 21 Sep 2008 15:29:29 +0000 (15:29 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 21 Sep 2008 15:29:29 +0000 (15:29 -0000)
commit30cfdf90ceecad82a378396fad517cb4d3fe7b30
tree419fcca48293f604278c31b65f3d5fe07c967e20
parent006e8628fc0a25c08df99f3b86d0c47f44aacc2b
crontab: do not destroy STDIN_FILENO, editor may need it (crontab -e)
vi: deal with EOF/error on stdin and with input NULs

function                                             old     new   delta
crontab_main                                         623     642     +19
edit_file                                            901     906      +5
readit                                               331     318     -13
editors/vi.c
miscutils/crontab.c