X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Flockutil.c;fp=index%2Flockutil.c;h=24d4d21719b8770b1ab65021d7506a4578dca3fa;hb=c7301c95631413019060f344ccffdb4f943f8a57;hp=cbfbb97ce3c0c40019d96f53e7648ab1af4fae5e;hpb=a20e59c5087fb92c419f2330c786367f9ce8ccd2;p=idzebra-moved-to-github.git diff --git a/index/lockutil.c b/index/lockutil.c index cbfbb97..24d4d21 100644 --- a/index/lockutil.c +++ b/index/lockutil.c @@ -3,7 +3,7 @@ * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * - * $Id: lockutil.c,v 1.15 2002-04-04 14:14:13 adam Exp $ + * $Id: lockutil.c,v 1.16 2002-06-02 19:28:53 adam Exp $ */ #include #include @@ -76,7 +76,7 @@ ZebraLockHandle zebra_lock_create (const char *dir, (O_BINARY|O_CREAT|O_RDWR), 0666); #else h->fd= open (fname, ((h->excl_flag > 1) ? O_EXCL : 0)| - (O_BINARY|O_CREAT|O_RDWR|O_SYNC), 0666); + (O_BINARY|O_CREAT|O_RDWR), 0666); #endif if (h->fd == -1) {