From: Bruno Haible Date: Sun, 12 Oct 2008 19:57:58 +0000 (+0000) Subject: Comment. X-Git-Tag: v0.18~297 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea06920b30ba1bab57929bf8875a63b332c3e2e6;p=thirdparty%2Fgettext.git Comment. --- diff --git a/gettext-runtime/intl/lock.c b/gettext-runtime/intl/lock.c index 5a6212514..b2dd5b2d7 100644 --- a/gettext-runtime/intl/lock.c +++ b/gettext-runtime/intl/lock.c @@ -727,6 +727,8 @@ gl_waitqueue_add (gl_waitqueue_t *wq) wq->array = new_array; wq->alloc = new_alloc; } + /* Whether the created event is a manual-reset one or an auto-reset one, + does not matter, since we will wait on it only once. */ event = CreateEvent (NULL, TRUE, FALSE, NULL); if (event == INVALID_HANDLE_VALUE) /* No way to allocate an event. */