X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Flockutil.c;h=24d4d21719b8770b1ab65021d7506a4578dca3fa;hb=47ea1fc957c7b97bb30a26698f072109cae275e4;hp=cbfbb97ce3c0c40019d96f53e7648ab1af4fae5e;hpb=2b1851bd5565e3d21f9cf9a37661a584c063b75f;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) {