rpms/vim/devel vim-7.0-warning.patch,NONE,1.1 vim.spec,1.102,1.103

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Apr 4 14:21:05 UTC 2006


Author: karsten

Update of /cvs/dist/rpms/vim/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv18143

Modified Files:
	vim.spec 
Added Files:
	vim-7.0-warning.patch 
Log Message:
make array large enough

vim-7.0-warning.patch:
 structs.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE vim-7.0-warning.patch ---
--- 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;


Index: vim.spec
===================================================================
RCS file: /cvs/dist/rpms/vim/devel/vim.spec,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -r1.102 -r1.103
--- vim.spec	4 Apr 2006 12:06:46 -0000	1.102
+++ vim.spec	4 Apr 2006 14:21:02 -0000	1.103
@@ -62,6 +62,7 @@
 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 @@
 %patch3009 -p1
 %patch3010 -p1
 %patch3011 -p1
+%patch3012 -p1
 
 %if %{WITH_SELINUX}
 %patch3100 -p1




More information about the fedora-cvs-commits mailing list