"Theodoros V. Kalamatianos" <[EMAIL PROTECTED]> writes:

> If the last output block is not obs-sized I think it is logical to
> asume that no seeking/padding should happen afterwards. But I am not
> sure what should happen if the block is obs-sized (i.e. a full
> output block).

For lack of a better alternative I'd say that if the last output block
is partial, it shouldn't be appended to with obseek=,N; but if it is a
full block, it should be appended to.  Or am I missing the point?

> To seek/pad the output lseek is not enough - you have to actually
> write something for the file to expand to the new size.

Or you can call ftruncate (for regular files anyway).

This is related to the XCU ERN 64 issue I mentioned previously.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to