make array large enough

This commit is contained in:
Karsten Hopp 2006-04-04 14:21:02 +00:00
parent c9aeaa57fa
commit 2ad96d4750
2 changed files with 13 additions and 0 deletions

11
vim-7.0-warning.patch Normal file
View File

@ -0,0 +1,11 @@
--- vim70c/src/structs.h.warning1 2006-04-04 15:58:16.000000000 +0200
+++ vim70c/src/structs.h 2006-04-04 15:58:20.000000000 +0200
@@ -1082,7 +1082,7 @@
{
typval_T di_tv; /* type and value of the variable */
char_u di_flags; /* flags (only used for variable) */
- char_u di_key[1]; /* key (actually longer!) */
+ char_u di_key[10]; /* key (actually longer!) */
};
typedef struct dictitem_S dictitem_T;

View File

@ -62,6 +62,7 @@ Patch3006: vim-6.2-rh5.patch
Patch3009: vim-6.4-checkhl.patch
Patch3010: vim-7.0-fstabsyntax.patch
Patch3011: vim-6.4-lib64.patch
Patch3012: vim-7.0-warning.patch
Patch3100: vim-selinux.patch
@ -187,6 +188,7 @@ perl -pi -e "s,bin/nawk,bin/awk,g" runtime/tools/mve.awk
%patch3009 -p1
%patch3010 -p1
%patch3011 -p1
%patch3012 -p1
%if %{WITH_SELINUX}
%patch3100 -p1