commit | 7385d929b5dfd5cd6d26bdfdab6810d9e3a36d1b | [log] [tgz] |
---|---|---|
author | Mark Adler <madler@alumni.caltech.edu> | Tue May 05 12:05:02 2020 -0700 |
committer | Mark Adler <madler@alumni.caltech.edu> | Tue May 05 12:05:02 2020 -0700 |
tree | 76bd42ca270f361d6de5230ef54ca19bada3a2bc | |
parent | 56fc9bd47d3b44fe5f0c7192043ec239fa8dfa0d [diff] |
Clean up the logic when asking to overwrite an existing file. This now requires that the first non-blank character be a "y" or a "Y", and avoids a possible issue if the I/O operations on the terminal change errno.