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 / 7.1 / 7.1.314 < prev    next >
Encoding:
Internet Message Format  |  2008-06-08  |  1.9 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 7.1.314
  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 7.1.314
  11. Problem:    The value of 'pastetoggle' is written to the session file without
  12.         any escaping. (Randall Hansen)
  13. Solution:   Use put_escstr(). (Ben Schmidt)
  14. Files:        src/option.c
  15.  
  16.  
  17. *** ../vim-7.1.313/src/option.c    Wed Mar 12 17:37:53 2008
  18. --- src/option.c    Wed Jun  4 19:32:02 2008
  19. ***************
  20. *** 243,249 ****
  21.   /* WV_ and BV_ values get typecasted to this for the "indir" field */
  22.   typedef enum
  23.   {
  24. !     PV_NONE = 0
  25.   } idopt_T;
  26.   
  27.   /*
  28. --- 243,250 ----
  29.   /* WV_ and BV_ values get typecasted to this for the "indir" field */
  30.   typedef enum
  31.   {
  32. !     PV_NONE = 0,
  33. !     PV_MAXVAL = 0xffff    /* to avoid warnings for value out of range */
  34.   } idopt_T;
  35.   
  36.   /*
  37. ***************
  38. *** 8713,8719 ****
  39.       {
  40.           s = *valuep;
  41.           while (*s != NUL)
  42. !         if (fputs((char *)str2special(&s, FALSE), fd) < 0)
  43.               return FAIL;
  44.       }
  45.       else if (expand)
  46. --- 8714,8720 ----
  47.       {
  48.           s = *valuep;
  49.           while (*s != NUL)
  50. !         if (put_escstr(fd, str2special(&s, FALSE), 2) == FAIL)
  51.               return FAIL;
  52.       }
  53.       else if (expand)
  54. *** ../vim-7.1.313/src/version.c    Mon Jun  9 15:10:07 2008
  55. --- src/version.c    Mon Jun  9 17:05:40 2008
  56. ***************
  57. *** 668,669 ****
  58. --- 673,676 ----
  59.   {   /* Add new patch number below this line */
  60. + /**/
  61. +     314,
  62.   /**/
  63.  
  64. -- 
  65. hundred-and-one symptoms of being an internet addict:
  66. 26. You check your mail. It says "no new messages." So you check it again.
  67.  
  68.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  69. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  70. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  71.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  72.