Module: wine Branch: master Commit: 1353d02904b7f88cbfab3dee29f761ab4021ed69 URL: https://source.winehq.org/git/wine.git/?a=commit;h=1353d02904b7f88cbfab3dee2...
Author: Daniel Lehman dlehman@esri.com Date: Thu May 3 11:49:53 2018 -0700
server: Notify parents of registry value changes.
Signed-off-by: Daniel Lehman dlehman@esri.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/advapi32/tests/registry.c | 2 +- server/registry.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/advapi32/tests/registry.c b/dlls/advapi32/tests/registry.c index d975301..d600163 100644 --- a/dlls/advapi32/tests/registry.c +++ b/dlls/advapi32/tests/registry.c @@ -3525,7 +3525,7 @@ static void test_RegNotifyChangeKeyValue(void) ret = RegSetValueA(subsubkey, NULL, REG_SZ, "SubSubKeyValue", 0); ok(ret == ERROR_SUCCESS, "expected ERROR_SUCCESS, got %d\n", ret); dwret = WaitForSingleObject(event, 0); - todo_wine ok(dwret == WAIT_OBJECT_0, "expected WAIT_OBJECT_0, got %u\n", dwret); + ok(dwret == WAIT_OBJECT_0, "expected WAIT_OBJECT_0, got %u\n", dwret);
/* don't watch deeper values */ RegCloseKey(key); diff --git a/server/registry.c b/server/registry.c index 734a111..8ad97d4 100644 --- a/server/registry.c +++ b/server/registry.c @@ -548,7 +548,7 @@ static void touch_key( struct key *key, unsigned int change ) /* do notifications */ check_notify( key, change, 1 ); for ( k = key->parent; k; k = k->parent ) - check_notify( k, change & ~REG_NOTIFY_CHANGE_LAST_SET, 0 ); + check_notify( k, change, 0 ); }
/* try to grow the array of subkeys; return 1 if OK, 0 on error */