summaryrefslogtreecommitdiff
path: root/source/ap/vim/patches/7.2.057
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2011-04-25 13:37:00 +0000
committerEric Hameleers <alien@slackware.com>2018-05-31 22:45:18 +0200
commit75a4a592e5ccda30715f93563d741b83e0dcf39e (patch)
tree502f745607e77a2c4386ad38d818ddcafe81489c /source/ap/vim/patches/7.2.057
parentb76270bf9e6dd375e495fec92140a79a79415d27 (diff)
downloadcurrent-75a4a592e5ccda30715f93563d741b83e0dcf39e.tar.gz
Slackware 13.37slackware-13.37
Mon Apr 25 13:37:00 UTC 2011 Slackware 13.37 x86_64 stable is released! Thanks to everyone who pitched in on this release: the Slackware team, the folks producing upstream code, and linuxquestions.org for providing a great forum for collaboration and testing. The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware project by picking up a copy from store.slackware.com. We're taking pre-orders now, and offer a discount if you sign up for a subscription. As always, thanks to the Slackware community for testing, suggestions, and feedback. :-) Have fun!
Diffstat (limited to 'source/ap/vim/patches/7.2.057')
-rw-r--r--source/ap/vim/patches/7.2.057111
1 files changed, 0 insertions, 111 deletions
diff --git a/source/ap/vim/patches/7.2.057 b/source/ap/vim/patches/7.2.057
deleted file mode 100644
index 37549121..00000000
--- a/source/ap/vim/patches/7.2.057
+++ /dev/null
@@ -1,111 +0,0 @@
-To: vim-dev@vim.org
-Subject: Patch 7.2.057
-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.057 (after 7.2.056)
-Problem: Combination of int and size_t may not work.
-Solution: Use size_t for variable.
-Files: src/spell.c
-
-
-*** ../vim-7.2.056/src/spell.c Sat Nov 29 20:10:59 2008
---- src/spell.c Sat Nov 29 20:15:43 2008
-***************
-*** 7926,7932 ****
- char_u *p;
- int rr;
- int retval = OK;
-! int fwv = 1; /* collect return value of fwrite() to avoid
- warnings from picky compiler */
-
- fd = mch_fopen((char *)fname, "w");
---- 8028,8034 ----
- char_u *p;
- int rr;
- int retval = OK;
-! size_t fwv = 1; /* collect return value of fwrite() to avoid
- warnings from picky compiler */
-
- fd = mch_fopen((char *)fname, "w");
-***************
-*** 7939,7944 ****
---- 8041,8050 ----
- /* <HEADER>: <fileID> <versionnr> */
- /* <fileID> */
- fwv &= fwrite(VIMSPELLMAGIC, VIMSPELLMAGICL, (size_t)1, fd);
-+ if (fwv != (size_t)1)
-+ /* Catch first write error, don't try writing more. */
-+ goto theend;
-+
- putc(VIMSPELLVERSION, fd); /* <versionnr> */
-
- /*
-***************
-*** 8300,8310 ****
- /* Write another byte to check for errors (file system full). */
- if (putc(0, fd) == EOF)
- retval = FAIL;
-!
- if (fclose(fd) == EOF)
- retval = FAIL;
-
-! if (fwv != 1)
- retval = FAIL;
- if (retval == FAIL)
- EMSG(_(e_write));
---- 8406,8416 ----
- /* Write another byte to check for errors (file system full). */
- if (putc(0, fd) == EOF)
- retval = FAIL;
-! theend:
- if (fclose(fd) == EOF)
- retval = FAIL;
-
-! if (fwv != (size_t)1)
- retval = FAIL;
- if (retval == FAIL)
- EMSG(_(e_write));
-***************
-*** 9897,9903 ****
- char_u *p;
- int len;
- int totlen;
-! int x = 1; /* collect return value of fwrite() */
-
- if (fd != NULL)
- put_bytes(fd, (long_u)gap->ga_len, 2); /* <prefcondcnt> */
---- 10003,10009 ----
- char_u *p;
- int len;
- int totlen;
-! size_t x = 1; /* collect return value of fwrite() */
-
- if (fd != NULL)
- put_bytes(fd, (long_u)gap->ga_len, 2); /* <prefcondcnt> */
-*** ../vim-7.2.056/src/version.c Sat Nov 29 20:10:59 2008
---- src/version.c Sat Nov 29 20:13:46 2008
-***************
-*** 678,679 ****
---- 678,681 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 57,
- /**/
-
---
-GUARD #1: What -- a swallow carrying a coconut?
-ARTHUR: It could grip it by the husk!
-GUARD #1: It's not a question of where he grips it! It's a simple question
- of weight ratios! A five ounce bird could not carry a 1 pound
- coconut.
- The Quest for the Holy Grail (Monty Python)
-
- /// 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 ///