Thread (18 messages) 18 messages, 5 authors, 2017-11-03

Re: [PATCH 2/2] sequencer: use O_TRUNC to truncate files

From: Johannes Schindelin <hidden>
Date: 2017-11-01 15:34:21

Hi René,

On Tue, 31 Oct 2017, René Scharfe wrote:
Cut off any previous content of the file to be rewritten by passing the
flag O_TRUNC to open(2) instead of calling ftruncate(2) at the end.
That's easier and shorter.
Sure.

Thanks,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help