> Date: Mon, 27 May 2013 00:42:34 +0200
> From: Frank Heckenbach <[email protected]>
> Cc: [email protected]
> 
> One issue, though it might seem strange that I'm the one to mention
> it, is that it might be POSIX specific. How do other systems behave,
> can they set O_APPEND via fcntl or otherwise

This can be done on Windows by creating a new file descriptor that has
the O_APPEND bit set, and then using dup2 to force stdout/stderr refer
to that file descriptor.  (This is theory; I should try that and see
if it actually works.)

> and if so, does it guarantee non-conflicting writes?

Not sure I understand what you are asking here.  Can you elaborate?

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

Reply via email to