Make the comment regarding ftruncate() correct.

This commit is contained in:
Brian Feldman 2000-07-20 19:21:40 +00:00
parent 29ce1dd302
commit 5976ee7e31

View File

@ -169,8 +169,8 @@ setup()
pos_out();
/*
* Truncate the output file; ignore errors because it fails on some
* kinds of output files, tapes, for example.
* Truncate the output file. If it fails on a type of output file
* that it should _not_ fail on, error out.
*/
if ((ddflags & (C_OF | C_SEEK | C_NOTRUNC)) == (C_OF | C_SEEK) &&
out.flags & ISTRUNC)