Open with O_APPEND fails

2008-12-27 Thread Mitar
-STABLE. Mitar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Open with O_APPEND fails

2008-12-27 Thread Mitar
But the question remains: why this fails? It works on Linux, as it is seen from bug report it works also on FreeBSD 6.x, why it does not work anymore on FreeBSD 7.x? Is it correct that it does not work? I have not found anywhere written that O_WRONLY should be specified with O_APPEND. Mitar

Re: Open with O_APPEND fails

2008-12-27 Thread Mitar
O_APPEND flag and not O_RDONLY | O_APPEND as that bug report. Mitar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Open with O_APPEND fails

2008-12-27 Thread Mitar
is opened only with O_APPEND? Just O_APPEND should also open file for writing as appending is also writing. It cannot be used without write semantics so file has to be open also for writing. Mitar ___ freebsd-questions@freebsd.org mailing list http