-
The optional mode argument (open is a vararg function), was only be read and forwarded if the O_CREAT flag is set. That is not complete, as O_TMPFILE will require this argument aswell. Fixed in this commit, and a fallback definition of O_TMPFILE is added, incase libcobalt is built against an library lacking this macro. Signed-off-by: Norbert Lange <norbert.lange@andritz.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
456268e5