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 2681Thread Previous | Thread Next