vim/vim-7.0-gcc_overflow_check.patch

12 lines
428 B
Diff

--- vim70/src/eval.c.orig 2006-07-11 12:02:34.000000000 +0200
+++ vim70/src/eval.c 2006-07-11 12:03:32.000000000 +0200
@@ -19670,7 +19670,7 @@
* some compiler that checks the destination size. */
v = &fc.fixvar[fixvar_idx++].var;
name = v->di_key;
- STRCPY(name, "self");
+ // STRCPY(name, "self");
v->di_flags = DI_FLAGS_RO + DI_FLAGS_FIX;
hash_add(&fc.l_vars.dv_hashtab, DI2HIKEY(v));
v->di_tv.v_type = VAR_DICT;