Skip to content

ppd-utils: Use simpler write without extra copies

Simplify our writing function by just using pure C open/write calls since we don't really need to be able to create files.

In fact this made possible to spot a test issue where a file was not present and in fact in some scenarios we had random valgrind errors in CI.

Plus, since we just need to write the contents as it is, we can avoid extra buffers.

Merge request reports