Make the comment regarding ftruncate() correct.
This commit is contained in:
parent
493ee2169c
commit
1ab6aa1440
@ -169,8 +169,8 @@ setup()
|
|||||||
pos_out();
|
pos_out();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Truncate the output file; ignore errors because it fails on some
|
* Truncate the output file. If it fails on a type of output file
|
||||||
* kinds of output files, tapes, for example.
|
* that it should _not_ fail on, error out.
|
||||||
*/
|
*/
|
||||||
if ((ddflags & (C_OF | C_SEEK | C_NOTRUNC)) == (C_OF | C_SEEK) &&
|
if ((ddflags & (C_OF | C_SEEK | C_NOTRUNC)) == (C_OF | C_SEEK) &&
|
||||||
out.flags & ISTRUNC)
|
out.flags & ISTRUNC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user