[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Change Invalid Handle fom CreateEvent to INVALID_HANDLE_VALUE

From: Oto BREZINA <otik_at_printflow.eu>
Date: Sat, 05 Mar 2011 22:20:15 +0100

Here is patch which address edge case handling,
  - CreateEvent return NULL as invalid handle, this would be used in
CloseHandle as potentionaly correct handle, so fix it to
INVALID_HANDLE_VALUE
  - in same case CloseHandle for m_hEvent whould be called with NULL (or
INVALID_HANDLE_VALUE with this fix) handler

-- 
Oto BREZINA, Printflow s.r.o.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2709764
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2011-03-05 22:31:48 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.