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.3 / 7.3.077 < prev    next >
Encoding:
Internet Message Format  |  2012-11-20  |  3.0 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.077
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.3.077
  11. Problem:    When updating crypt of swapfile fails there is no error message.
  12.         (Carlo Teubner)
  13. Solution:   Add the error message.
  14. Files:        src/memline.c
  15.  
  16.  
  17. *** ../vim-7.3.076/src/memline.c    2010-08-15 21:57:31.000000000 +0200
  18. --- src/memline.c    2010-12-08 12:39:10.000000000 +0100
  19. ***************
  20. *** 582,587 ****
  21. --- 582,590 ----
  22.           idx = ip->ip_index + 1;        /* go to next index */
  23.           page_count = 1;
  24.       }
  25. +     if (error > 0)
  26. +         EMSG(_("E843: Error while updating swap file crypt"));
  27.       }
  28.   
  29.       mfp->mf_old_key = NULL;
  30. ***************
  31. *** 2384,2390 ****
  32.    * Make a copy of the line if necessary.
  33.    */
  34.   /*
  35. !  * get a pointer to a (read-only copy of a) line
  36.    *
  37.    * On failure an error message is given and IObuff is returned (to avoid
  38.    * having to check for error everywhere).
  39. --- 2387,2393 ----
  40.    * Make a copy of the line if necessary.
  41.    */
  42.   /*
  43. !  * Return a pointer to a (read-only copy of a) line.
  44.    *
  45.    * On failure an error message is given and IObuff is returned (to avoid
  46.    * having to check for error everywhere).
  47. ***************
  48. *** 2397,2403 ****
  49.   }
  50.   
  51.   /*
  52. !  * ml_get_pos: get pointer to position 'pos'
  53.    */
  54.       char_u *
  55.   ml_get_pos(pos)
  56. --- 2400,2406 ----
  57.   }
  58.   
  59.   /*
  60. !  * Return pointer to position "pos".
  61.    */
  62.       char_u *
  63.   ml_get_pos(pos)
  64. ***************
  65. *** 2407,2413 ****
  66.   }
  67.   
  68.   /*
  69. !  * ml_get_curline: get pointer to cursor line.
  70.    */
  71.       char_u *
  72.   ml_get_curline()
  73. --- 2410,2416 ----
  74.   }
  75.   
  76.   /*
  77. !  * Return pointer to cursor line.
  78.    */
  79.       char_u *
  80.   ml_get_curline()
  81. ***************
  82. *** 2416,2422 ****
  83.   }
  84.   
  85.   /*
  86. !  * ml_get_cursor: get pointer to cursor position
  87.    */
  88.       char_u *
  89.   ml_get_cursor()
  90. --- 2419,2425 ----
  91.   }
  92.   
  93.   /*
  94. !  * Return pointer to cursor position.
  95.    */
  96.       char_u *
  97.   ml_get_cursor()
  98. ***************
  99. *** 2426,2432 ****
  100.   }
  101.   
  102.   /*
  103. !  * get a pointer to a line in a specific buffer
  104.    *
  105.    * "will_change": if TRUE mark the buffer dirty (chars in the line will be
  106.    * changed)
  107. --- 2429,2435 ----
  108.   }
  109.   
  110.   /*
  111. !  * Return a pointer to a line in a specific buffer
  112.    *
  113.    * "will_change": if TRUE mark the buffer dirty (chars in the line will be
  114.    * changed)
  115. *** ../vim-7.3.076/src/version.c    2010-12-08 13:11:15.000000000 +0100
  116. --- src/version.c    2010-12-08 13:15:44.000000000 +0100
  117. ***************
  118. *** 716,717 ****
  119. --- 716,719 ----
  120.   {   /* Add new patch number below this line */
  121. + /**/
  122. +     77,
  123.   /**/
  124.  
  125. -- 
  126. An operatingsystem is just a name you give to the rest of bloating
  127. idiosyncratic machine-based-features you left out of your editor.
  128.             (author unknown)
  129.  
  130.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  131. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  132. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  133.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  134.