develooper Front page | perl.perl5.porters | Postings from May 2004

Re: [PATCH] Grammatical fixes and explanations in perlfunc.pod (sysopen)

Thread Previous | Thread Next
From:
Paul Fenwick
Date:
May 31, 2004 17:01
Subject:
Re: [PATCH] Grammatical fixes and explanations in perlfunc.pod (sysopen)
Message ID:
40BBC753.9000001@perltraining.com.au
G'day Ronald / p5p,

Ronald J Kimball wrote:

> On Mon, May 31, 2004 at 09:33:51PM +1000, Paul Fenwick wrote:

>>+is set as well.  Setting C<O_CREAT|O_EXCL> prevents symlinks from
>>+being followed when creating files.
> 
> Setting C<O_CREAT|O_EXCL> when the path contains a symlink works fine for
> me.

Well spotted.  O_CREAT|O_EXCL guarantees the open will fail if the file 
is a symlink.  It does not check the path.  That should definitely be 
made clear.  Thank-you very much for spotting that.

I'll adjust my wording a little and resubmit the patch.

All the very best,

	Paul

-- 
Paul Fenwick <pjf@perltraining.com.au> | http://perltraining.com.au/
Director of Training                   | Ph:  +61 3 9354 6001
Perl Training Australia                | Fax: +61 3 9354 2681

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About