X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Ftstflock.c;h=6ff2dfe93fe3ff40c84b1d9b1bdff63e25f7c23c;hb=6d3b83ae7e008f2d61326051b03f7f07d3cc2ef0;hp=b6289683e4e1aed1a040f279b1cb6c0f99f7236f;hpb=2c3c2214cd279df3cbfd230448a35e91e6caa390;p=idzebra-moved-to-github.git diff --git a/util/tstflock.c b/util/tstflock.c index b628968..6ff2dfe 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.4 2006-03-23 17:50:17 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