To: vim-dev@vim.org Subject: Patch 6.1.095 Fcc: outbox From: Bram Moolenaar MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.095 Problem: When using signs can free an item on the stack. Overruling sign colors doesn't work. (Srikanth Sankaran) Solution: Don't free the item on the stack. Use NULL instead of "none" for the value of the color. Files: src/gui_x11.c *** ../vim61.094/src/gui_x11.c Sat May 4 22:23:07 2002 --- src/gui_x11.c Thu Jun 13 19:39:43 2002 *************** *** 3225,3231 **** { XpmColorSymbol color[5] = { ! {"none", "none", 0}, {"iconColor1", NULL, 0}, {"bottomShadowColor", NULL, 0}, {"topShadowColor", NULL, 0}, --- 3225,3231 ---- { XpmColorSymbol color[5] = { ! {"none", NULL, 0}, {"iconColor1", NULL, 0}, {"bottomShadowColor", NULL, 0}, {"topShadowColor", NULL, 0}, *************** *** 3251,3257 **** sign = NULL; EMSG(_("E255: Couldn't read in sign data!")); } - vim_free(attrs.colorsymbols); } } --- 3251,3256 ---- *** ../vim61.094/src/version.c Sun Jun 9 20:51:06 2002 --- src/version.c Thu Jun 13 19:40:37 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 95, /**/ -- hundred-and-one symptoms of being an internet addict: 214. Your MCI "Circle of Friends" are all Hayes-compatible. /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///