|Subject:||Strawberry Perl 5.20 NO_MORE_ITEMS in _enumSubKeys() Error|
I have no idea why this is happening or why what I did to fix it works, but I am not seeing this error on anything before 5.20. In a registry key, where the max subkey length is 72 (reported correctly by the Information() method), SubKeysNames() is failing inside of _enumSubKeys because it is failing the _NoMoreItems() check when it gets to the $self->RegEnumKeyEx call on the longest subkey. For some reason changing the line: 695: $namSiz++; $clsSiz++; to 695: $namSiz+=8; $clsSiz++; Corrects the issue. Any less than increasing it by 8 results in the error.