home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.0.203 < prev    next >
Encoding:
Internet Message Format  |  2002-02-07  |  1.7 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.203
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.0.203
  11. Problem:    Can change 'fileformat' even though 'modifiable is off. (Servatius
  12.         Brandt)
  13. Solution:   Correct check for kind of set command.
  14. Files:        src/option.c
  15.  
  16.  
  17. *** ../vim60.202/src/option.c    Mon Feb  4 22:49:06 2002
  18. --- src/option.c    Fri Feb  8 10:25:18 2002
  19. ***************
  20. *** 4523,4529 ****
  21.       /* 'fileformat' */
  22.       else if (gvarp == &p_ff)
  23.       {
  24. !     if (!curbuf->b_p_ma && (opt_flags & OPT_LOCAL))
  25.           errmsg = e_modifiable;
  26.       else if (check_opt_strings(*varp, p_ff_values, FALSE) != OK)
  27.           errmsg = e_invarg;
  28. --- 4523,4529 ----
  29.       /* 'fileformat' */
  30.       else if (gvarp == &p_ff)
  31.       {
  32. !     if (!curbuf->b_p_ma && !(opt_flags & OPT_GLOBAL))
  33.           errmsg = e_modifiable;
  34.       else if (check_opt_strings(*varp, p_ff_values, FALSE) != OK)
  35.           errmsg = e_invarg;
  36. *** ../vim60.202/src/version.c    Fri Feb  8 10:29:46 2002
  37. --- src/version.c    Fri Feb  8 10:29:27 2002
  38. ***************
  39. *** 608,609 ****
  40. --- 608,611 ----
  41.   {   /* Add new patch number below this line */
  42. + /**/
  43. +     203,
  44.   /**/
  45.  
  46. -- 
  47.    GALAHAD turns back.  We see from his POV the lovely ZOOT standing by him
  48.    smiling enchantingly and a number of equally delectable GIRLIES draped
  49.    around in the seductively poulticed room.  They look at him smilingly and
  50.    wave.
  51.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  52.  
  53.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  54. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  55.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  56.