Re: add o_sync option to file:open/2
Lukas Larsson <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.patches |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I've just merged this into master so it will be part of the next major
release. Thank you for your contribution.
Lukas
On 12/11/13 23:39, Steve Vinoski wrote:
> https://github.com/erlang/otp/pull/137
>
> This pull request adds an o_sync option to file:open/2. The o_sync
> option adds the POSIX O_SYNC flag to the open system call on platforms
> that support the flag or its equivalent, e.g., FILE_FLAG_WRITE_THROUGH
> on Windows. For platforms that don't support it, file:open/2 returns
> {error, enotsup} if the o_sync option is passed in.
>
> Joe Blomstedt (jtuple) wrote most of this patch, I just dotted the Ts,
> crossed the Is, and submitted it.
>
> --steve
>
>
> _______________________________________________
> erlang-patches mailing list
> [email protected]
> http://erlang.org/mailman/listinfo/erlang-patches
_______________________________________________
erlang-patches mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-patches