[erlang-patches] ms/file-exclusive-mode

Raimo Niskanen raimo+erlang-patches@REDACTED
Wed Jun 2 09:20:42 CEST 2010


On Tue, Jun 01, 2010 at 10:02:46AM -0400, Michael Santos wrote:
> 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".

I will --amend that to Björn's commit.

> 
> 
> 
> ________________________________________________________________
> erlang-patches (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-patches-unsubscribe@REDACTED

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB


More information about the erlang-patches mailing list