X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Ftstflock.c;h=ec26477186abd323536663fabc80b5e94da99062;hb=0002d3ccff37e5598553683e95714ca5711f05e8;hp=b6289683e4e1aed1a040f279b1cb6c0f99f7236f;hpb=2c3c2214cd279df3cbfd230448a35e91e6caa390;p=idzebra-moved-to-github.git diff --git a/util/tstflock.c b/util/tstflock.c index b628968..ec26477 100644 --- a/util/tstflock.c +++ b/util/tstflock.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: tstflock.c,v 1.3 2006-03-23 17:32:03 adam Exp $ + * $Id: tstflock.c,v 1.6 2006-05-10 08:13:46 adam Exp $ */ #include @@ -75,9 +75,8 @@ static void tst_win32() 0, /* use default creation flags */ &dwThreadId[i]); /* returns the thread identifier */ } - WaitForMultipleObjects(NUM_THREADS, handles, TRUE, INFINITE); /* join */ - *seqp++ = '\0'; + WaitForMultipleObjects(NUM_THREADS, handles, TRUE, INFINITE); } #endif @@ -91,7 +90,6 @@ static void tst_pthread() for (i = 0; i