]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sh: Send libedit "ferr" output to fd 2
authorjilles <jilles@FreeBSD.org>
Sun, 20 Jan 2019 14:25:25 +0000 (14:25 +0000)
committerjilles <jilles@FreeBSD.org>
Sun, 20 Jan 2019 14:25:25 +0000 (14:25 +0000)
commitf2387f02db820099b5b4837ad9fd45490267703f
tree5ab6554572ee19cda2db599b00dd9dbfa4c5eb48
parent97b3b273d7ac138b701a1fe9d0caeebea50896ad
sh: Send libedit "ferr" output to fd 2

The libedit "fout" output must be sent to fd 2 since it contains prompts
that POSIX says must be sent to fd 2. However, the libedit "ferr" output
receives error messages such as from "bind" that make no sense to send to fd
1.
bin/sh/histedit.c