Date: Wed, 21 Apr 1999 15:10:38 +0200 From: Ladavac Marino <mladavac@metropolitan.at> To: 'Graham Wheeler' <gram@cdsec.com>, hackers@freebsd.org Subject: RE: File locking problem Message-ID: <55586E7391ACD211B9730000C11002761795EF@r-lmh-wi-100.corpnet.at>
next in thread | raw e-mail | index | archive | help
> -----Original Message----- > From: Graham Wheeler [SMTP:gram@cdsec.com] > Sent: Wednesday, April 21, 1999 2:57 PM > To: hackers@freebsd.org > Subject: Re: File locking problem > > Graham Wheeler wrote: > [ML] Please disregard my second "solution". It won't work (the second open will create the file if you specify O_CREAT). Talking about that, the real solution might be to open the file read-write without O_CREAT flag--the open will fail if the file was unlinked between dir read and open. /Marino To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55586E7391ACD211B9730000C11002761795EF>