Skip Menu |

This queue is for tickets about the Win32-TieRegistry CPAN distribution.

Report information
The Basics
Id: 123315
Status: new
Priority: 0/
Queue: Win32-TieRegistry

People
Owner: Nobody in particular
Requestors: h.huzen [...] belastingdienst.nl
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: On cygwin, enum functions fail because of SUCCESS
Date: Wed, 18 Oct 2017 09:32:38 +0200
To: bug-Win32-TieRegistry [...] rt.cpan.org
From: h.huzen [...] belastingdienst.nl
Hi. With Win32-TieRegistry-0,30 on a Windows8.1 sytem, using CYGWIN_NT-6.3, perl 5.22, the functions _enumValues and _enumSubKeys incorrectly return a non-true value. That is because they test (using _NoMoreItems) for an ERROR_NO_MORE_ITEMS condition. In this environment that condition does not occur. At the end of the processing Win32::GetLastError does not give ERROR_NO_MORE_ITEMS. It gives a 0 value apparently for no error/success. My quickfix is to put in an extra statement at the start of _NoMoreItems(): return 1 if (_ErrNum == 0 ); Kind regards. Harrie Huzen ------------------------------------------------------------------------ De Belastingdienst stelt e-mail niet open voor aanvragen, aangiften, bezwaarschriften, verzoeken, klachten, ingebrekestellingen en soortgelijke formele berichten. Dit bericht is uitsluitend bestemd voor de geadresseerde. Het bericht kan vertrouwelijke informatie bevatten waarvoor de fiscale geheimhoudingsplicht geldt. Als u dit bericht per abuis hebt ontvangen, wordt u verzocht het te verwijderen en de afzender te informeren. The Dutch Tax and Customs Administration does not accept filings, requests, appeals, complaints, notices of default or similar formal notices, sent by email. This message is solely intended for the addressee. It may contain information that is confidential and legally privileged. If you are not the intended recipient please delete this message and notify the sender.