Again, picked up by newer tooling.
squish.c:648:25: error: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
fprintf(stderr, " do you wish to overwrite %s (y or n)? ",
ofname);
fflush(stderr);
- read(2, response, 2);
+ if (read(2, response, 2) < 1) {
+ perror("stderr"); break;
+ }
while (response[1] != '\n') {
if (read(2, response+1, 1) < 0) { /* Ack! */
perror("stderr"); break;