[glib/gregistry-key-name-len] gregistrysettings: bump key name length to 128
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/gregistry-key-name-len] gregistrysettings: bump key name length to 128
- Date: Tue, 1 Oct 2019 12:36:22 +0000 (UTC)
commit 9239f2659f6f56f116d4d05f1a1bb0c9fb263206
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date: Mon Sep 30 18:13:17 2019 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]