Blame SOURCES/vim72-rh514717.patch

22c937
diff -up vim72/src/eval.c.rh514717 vim72/src/eval.c
22c937
--- vim72/src/eval.c.rh514717	2009-08-03 16:15:42.882375154 +0200
22c937
+++ vim72/src/eval.c	2009-08-03 16:34:14.863381780 +0200
22c937
@@ -286,13 +286,12 @@ typedef struct
22c937
 #define VV_RO		2	/* read-only */
22c937
 #define VV_RO_SBX	4	/* read-only in the sandbox */
22c937
 
22c937
-#define VV_NAME(s, t)	s, {{t, 0, {0}}, 0, {0}}, {0}
22c937
+#define VV_NAME(s, t)	s, {{t, 0, {0}}, 0, {0}}
22c937
 
22c937
 static struct vimvar
22c937
 {
22c937
     char	*vv_name;	/* name of variable, without v: */
22c937
     dictitem_T	vv_di;		/* value and name for key */
22c937
-    char	vv_filler[16];	/* space for LONGEST name below!!! */
22c937
     char	vv_flags;	/* VV_COMPAT, VV_RO, VV_RO_SBX */
22c937
 } vimvars[VV_LEN] =
22c937
 {
22c937
diff -up vim72/src/structs.h.rh514717 vim72/src/structs.h
22c937
--- vim72/src/structs.h.rh514717	2009-08-03 16:33:35.274870950 +0200
22c937
+++ vim72/src/structs.h	2009-08-03 16:33:48.607436706 +0200
22c937
@@ -1095,7 +1095,7 @@ struct dictitem_S
22c937
 {
22c937
     typval_T	di_tv;		/* type and value of the variable */
22c937
     char_u	di_flags;	/* flags (only used for variable) */
22c937
-    char_u	di_key[10];	/* key (actually longer!) */
22c937
+    char_u	di_key[18];	/* key */
22c937
 };
22c937
 
22c937
 typedef struct dictitem_S dictitem_T;