summaryrefslogtreecommitdiffstats
path: root/source/ap/vim/patches/7.2.053
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2009-08-26 10:00:38 -0500
committer Eric Hameleers <alien@slackware.com>2018-05-31 22:41:17 +0200
commit5a12e7c134274dba706667107d10d231517d3e05 (patch)
tree55718d5acb710fde798d9f38d0bbaf594ed4b296 /source/ap/vim/patches/7.2.053
downloadcurrent-5a12e7c134274dba706667107d10d231517d3e05.tar.gz
current-5a12e7c134274dba706667107d10d231517d3e05.tar.xz
Slackware 13.0slackware-13.0
Wed Aug 26 10:00:38 CDT 2009 Slackware 13.0 x86_64 is released as stable! Thanks to everyone who helped make this release possible -- see the RELEASE_NOTES for the credits. The ISOs are off to the replicator. This time it will be a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. We're taking pre-orders now at store.slackware.com. Please consider picking up a copy to help support the project. Once again, thanks to the entire Slackware community for all the help testing and fixing things and offering suggestions during this development cycle. As always, have fun and enjoy! -P.
Diffstat (limited to 'source/ap/vim/patches/7.2.053')
-rw-r--r--source/ap/vim/patches/7.2.05358
1 files changed, 58 insertions, 0 deletions
diff --git a/source/ap/vim/patches/7.2.053 b/source/ap/vim/patches/7.2.053
new file mode 100644
index 000000000..410d1666e
--- /dev/null
+++ b/source/ap/vim/patches/7.2.053
@@ -0,0 +1,58 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.053
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.2.053
+Problem: Crash when using WorkShop command ":ws foo". (Dominique Pelle)
+Solution: Avoid using a NULL pointer.
+Files: src/workshop.c
+
+
+*** ../vim-7.2.052/src/workshop.c Tue Jun 24 23:34:50 2008
+--- src/workshop.c Thu Nov 27 22:31:27 2008
+***************
+*** 1121,1128 ****
+ ? (char *)curbuf->b_sfname : "<None>");
+ #endif
+
+! strcpy(ffname, (char *) curbuf->b_ffname);
+! *filename = ffname; /* copy so nobody can change b_ffname */
+ *curLine = curwin->w_cursor.lnum;
+ *curCol = curwin->w_cursor.col;
+
+--- 1121,1132 ----
+ ? (char *)curbuf->b_sfname : "<None>");
+ #endif
+
+! if (curbuf->b_ffname == NULL)
+! ffname[0] = NUL;
+! else
+! /* copy so nobody can change b_ffname */
+! strcpy(ffname, (char *) curbuf->b_ffname);
+! *filename = ffname;
+ *curLine = curwin->w_cursor.lnum;
+ *curCol = curwin->w_cursor.col;
+
+*** ../vim-7.2.052/src/version.c Fri Nov 28 11:15:10 2008
+--- src/version.c Fri Nov 28 11:44:23 2008
+***************
+*** 678,679 ****
+--- 678,681 ----
+ { /* Add new patch number below this line */
++ /**/
++ 53,
+ /**/
+
+--
+What the word 'politics' means: 'Poli' in Latin meaning 'many' and 'tics'
+meaning 'bloodsucking creatures'.
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
+/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\ download, build and distribute -- http://www.A-A-P.org ///
+ \\\ help me help AIDS victims -- http://ICCF-Holland.org ///