Skip to content
Snippets Groups Projects
Commit 92bae03c authored by Matt Harbison's avatar Matt Harbison
Browse files

windows: prevent bytes from being passed to registry APIs

There was a TortoiseHg bug report in this area[1], and from inspection, it looks
like passing `b""` as `valname` would fail to convert to unicode.  The
underlying API allows both `""` and `NULL` to return the default value for the
key.

[1] mercurial/tortoisehg/thg#5803
parent 5c01ca5f
No related branches found
Tags heptapod-0.16.0.pre-3
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment