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

Re: Change Invalid Handle fom CreateEvent to INVALID_HANDLE_VALUE

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sun, 06 Mar 2011 10:13:15 +0100

On 05.03.2011 22:20, Oto BREZINA wrote:
> 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

Committed in r20974.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2709817
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-03-06 10:53:11 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.