https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a3bf868efb409012530ef5...
commit a3bf868efb409012530ef510c5f93b65df271d8e Author: winesync ros-dev@reactos.org AuthorDate: Sun Jan 16 21:15:47 2022 +0100 Commit: Thomas Csovcsity thc.fr13nd@gmail.com CommitDate: Sun Jun 19 13:06:33 2022 +0200
[WINESYNC] reg: Do not print a line break after querying a registry key.
Signed-off-by: Hugh McMaster hugh.mcmaster@outlook.com Signed-off-by: Alexandre Julliard julliard@winehq.org
wine commit id f32816268ed5715c5bce20daf9bb20aa194a7127 by Hugh McMaster hugh.mcmaster@outlook.com --- base/applications/cmdutils/reg/query.c | 4 ---- modules/rostests/winetests/reg/query.c | 2 +- sdk/tools/winesync/reg.cfg | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/base/applications/cmdutils/reg/query.c b/base/applications/cmdutils/reg/query.c index 6485d36db6f..efcd16f8ad5 100644 --- a/base/applications/cmdutils/reg/query.c +++ b/base/applications/cmdutils/reg/query.c @@ -287,10 +287,6 @@ static int query_all(HKEY hkey, WCHAR *path, BOOL recurse) }
free(subkey_name); - - if (i && !recurse) - output_string(newlineW); - return 0; }
diff --git a/modules/rostests/winetests/reg/query.c b/modules/rostests/winetests/reg/query.c index 34196c77aa4..a8720da8da1 100644 --- a/modules/rostests/winetests/reg/query.c +++ b/modules/rostests/winetests/reg/query.c @@ -225,7 +225,7 @@ static void test_query(void)
read_reg_output("reg query HKCU\" KEY_BASE, buf, sizeof(buf), &r); ok(r == REG_EXIT_SUCCESS, "got exit code %d, expected 0\n", r); - compare_query(buf, test3, FALSE, TODO_REG_COMPARE); + compare_query(buf, test3, FALSE, 0);
add_value(subkey, "Test3", REG_SZ, "Some string data", 16); dword = 0xabc; diff --git a/sdk/tools/winesync/reg.cfg b/sdk/tools/winesync/reg.cfg index 49aa0a28361..f3c81e9f9a5 100644 --- a/sdk/tools/winesync/reg.cfg +++ b/sdk/tools/winesync/reg.cfg @@ -4,4 +4,4 @@ directories: files: programs/reg/resource.h: base/applications/cmdutils/reg/resource.h tags: - wine: c809f9462455ffb0e03a9ae4057f0cd47c85ee5d + wine: f32816268ed5715c5bce20daf9bb20aa194a7127