1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

node-file: Don't truncate files

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
This commit is contained in:
Philipp Jungkamp 2023-08-25 13:12:24 +02:00 committed by Steffen Vogel
parent 65cb2d612b
commit ad6bd0ecf7

View file

@ -262,7 +262,7 @@ int villas::node::file_start(NodeCompat *n)
f->formatter->start(n->getInputSignals(false));
/* Open file */
f->stream_out = fopen(f->uri, "w+");
f->stream_out = fopen(f->uri, "a+");
if (!f->stream_out)
return -1;