[erlang-patches] ms/file-exclusive-mode
Michael Santos
michael.santos@REDACTED
Tue Jun 1 16:02:46 CEST 2010
On Tue, Jun 01, 2010 at 03:40:40PM +0200, Bj??rn Gustavsson wrote:
> git fetch git://github.com/bjorng/otp.git ms/file-exclusive-mode
>
> We will probably graduate this branch (after testing it
> on more platforms), but with the following addition
> to the documentation:
>
> diff --git a/lib/kernel/doc/src/file.xml b/lib/kernel/doc/src/file.xml
> index eed92d2..640137a 100644
> --- a/lib/kernel/doc/src/file.xml
> +++ b/lib/kernel/doc/src/file.xml
> @@ -616,6 +616,11 @@ f.txt: {person, "kalle", 25}.
> <p>The file, when opened for writing, is created if it
> does not exist. If the file exists, open will return
> <c>{error, eexist}</c>.</p>
> + <warning><p>This option does not guarantee exclusiveness on
> + file systems that do not support O_EXCL properly,
> + such as NFS. Do not depend on this option unless you
> + know that the file system support its (in general, local
> + file systems should be safe).</p></warning>
> </item>
> <tag><c>raw</c></tag>
> <item>
>
> Is that OK?
That is much better, thanks! One small typo: "support its" should be
"supports it".
More information about the erlang-patches
mailing list