ACPICA: acpiexec: Do not put STDIN into raw mode unless it is a terminal.
authorBob Moore <robert.moore@intel.com>
Fri, 10 Oct 2014 02:40:19 +0000 (10:40 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 20 Oct 2014 22:39:40 +0000 (00:39 +0200)
commit63c9043b905d04edebfe37b59d5415a46e5008bb
treee187f1c30ce3c67dd5a5472bd0042919ca4fe79a
parentf2d348fac77f6cf8eb5d0eb37e16b13d8b796bda
ACPICA: acpiexec: Do not put STDIN into raw mode unless it is a terminal.

Eliminate an error message for batch-mode processing on unix
systems. ACPICA BZ 1114.

This patch is mainly for fixing the issues of acpiexec which is not in the
Linux upstream.

Link: https://bugs.acpica.org/show_bug.cgi?id=1114
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
tools/power/acpi/os_specific/service_layers/osunixxf.c