commit | 80b90b7866a83a7ddec7b960cd2f9917ab2a2fc6 | [log] [tgz] |
---|---|---|
author | Paul Smith <psmith@gnu.org> | Mon Mar 30 14:38:47 2020 -0400 |
committer | Paul Smith <psmith@gnu.org> | Tue Mar 31 00:19:20 2020 -0400 |
tree | 0ad9669145270459b12fdf69ea2517b74e932fec | |
parent | 8e024a253273a1e98b005d71c8ae4f6d2651fed4 [diff] |
[SV 57967] Only set APPEND mode for regular files APPEND is a permanent mode shared by all users of a file. If we set it on a tty, pipe, etc. it will stay in effect even after make exits, which can cause problems. Patch provided by 0xef967c36@gmail.com * src/output.c (set_append_mode): Check for a regular file. Copyright-paperwork-exempt: yes