*line_push(&in_line) = x;
}
}
+
+ if (ferror_unlocked(tf))
+ die("I/O error when reading temporary file");
}
static void tmp_write(void)
*intarray_nth(w, i) = fw;
}
putc_unlocked(0xff, tf);
+
+ if (ferror_unlocked(tf))
+ die("I/O error when writing temporary file");
}
/*** Transforms ***/
in_field = NULL;
if (!in_format->read_line())
break;
+ if (ferror_unlocked(stdin))
+ die("I/O error when reading standard input");
if (want_trim)
trim_fields();
select_fields();
out_format->write_line();
+ if (ferror_unlocked(stdout))
+ die("I/O error when writing standard input");
}
}