*** empty log message ***

svn path=/trunk/boinc/; revision=4256
This commit is contained in:
Rom Walton 2004-09-27 23:30:09 +00:00
parent 138eef32f0
commit a0635d70f0
1 changed files with 1 additions and 1 deletions

View File

@ -465,7 +465,7 @@ int lock_file(char* filename) {
int retval;
// some systems have both!
#ifdef HAVE_LOCKF
#if defined(HAVE_LOCKF) && !defined(__APPLE__)
int lock = open(filename, O_WRONLY|O_CREAT, 0644);
retval = lockf(lock, F_TLOCK, 1);
#elif HAVE_FLOCK