diff options
author | eadler <eadler@FreeBSD.org> | 2012-11-15 15:05:51 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-11-15 15:05:51 +0000 |
commit | 5649923ed0db340e50f85da233f55d743481b465 (patch) | |
tree | cbe8d294acc0408734aecce1f93a6ff49f6a27b7 /share | |
parent | 220ecf68cc0e16048390f8af0404f7ee4cecf105 (diff) | |
download | FreeBSD-src-5649923ed0db340e50f85da233f55d743481b465.zip FreeBSD-src-5649923ed0db340e50f85da233f55d743481b465.tar.gz |
Follow the behavior as specified in POSIX:
if (exists AND (NOT f_option) AND
((not_writable AND input_is_terminal) OR i_option))
prompt
in particular, add the test for input_is_terminal
PR: bin/173039
Submitted by: Mark Johnston <markjdb@gmail.com>
Approved by: cperciva
MFC after: 3 days
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions