r23668: When creating a new string value, win2k regedit delivers
authorMichael Adam <obnox@samba.org>
Sat, 30 Jun 2007 23:52:23 +0000 (23:52 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:44 +0000 (12:23 -0500)
commit7a3f98e5080ee2fadfe236e2ab6d34ddb05981fa
treea613077c1d696eaa40b7d96bbf617cacbc3cb6dd
parentba2dc0530fa6fc7353655812be24444478e12ba1
r23668: When creating a new string value, win2k regedit delivers
one byte of data despite characters being two-byte.

This modifies registry_pull_value, to change the data
to the correct two-byte version of the empty string,
(as delivered by winxp), when only one byte of data is
received.

Michael
(This used to be commit a4c2b20296d6853cd1578601f17330cde75c4038)
source3/lib/util_reg_api.c