Hi Robos, * Robos <[EMAIL PROTECTED]> [2007-12-10 19:39]: > On Sun, 09.12.07, Stephen Birch <[EMAIL PROTECTED]> wrote: > > Nico Golde([EMAIL PROTECTED])@2007-12-09 21:18: > > > > Cant the log files just be placed in the current working directory? > > > > Either way, it sounds good. > > > > > > That would be the same problem if you call vobcopy in a > > > world-writable directory. Checking if the file already > > > exists and creating a unique name using mkstemp or opening the > > > file with O_EXCL should be enough. > > From my short read of the man pages I got the impression that O_EXCL was not > a posix feature. If so, it would limit vobcopy from running on not-posix > conformant platforms (whatever they may be...) [...] Where did you read this cause it is of course valid in POSIX. Just have a look at man 3p open. Kind regards Nico -- Nico Golde - http://www.ngolde.de - [EMAIL PROTECTED] - GPG: 0x73647CFF For security reasons, all text in this mail is double-rot13 encrypted.
pgpGT1rBNJxHg.pgp
Description: PGP signature