From 9239f2659f6f56f116d4d05f1a1bb0c9fb263206 Mon Sep 17 00:00:00 2001 From: Ignacio Casal Quinteiro Date: Mon, 30 Sep 2019 18:13:17 +0200 Subject: [PATCH] gregistrysettings: bump key name length to 128 32 is just too low for key names, specially since the registry has a limit of 16,383 chars. Giving that, 128 is a good bump for now. --- gio/gregistrysettingsbackend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gregistrysettingsbackend.c b/gio/gregistrysettingsbackend.c index 26de2518c..0afe54b27 100644 --- a/gio/gregistrysettingsbackend.c +++ b/gio/gregistrysettingsbackend.c @@ -98,7 +98,7 @@ //#define TRACE /* GSettings' limit */ -#define MAX_KEY_NAME_LENGTH 32 +#define MAX_KEY_NAME_LENGTH 128 /* Testing (on Windows XP SP3) shows that WaitForMultipleObjects fails with * "The parameter is incorrect" after 64 watches. We need one for the