Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
win32/uniregistrygen.cc: Open keys with READ if we can't READ/WRITE.
Windows Vista tries to trip us up again, by giving us permission denied to open HKEY_LOCAL_MACHINE/Software (and probably other keys) with KEYS_READ | KEYS_WRITE permissions. But, it works with KEYS_READ. Rework the iterative subkey opening strategy to try KEYS_READ | KEYS_WRITE, and fall back to KEYS_READ if this fails.
- Loading branch information