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.2.075 < prev    next >
Encoding:
Internet Message Format  |  2003-09-08  |  1.7 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.075
  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.2.075
  11. Problem:    When the temp file for writing viminfo can't be used "NULL"
  12.         appears in the error message. (Ben Lavender)
  13. Solution:   Print the original file name when there is no temp file name.
  14. Files:        src/ex_cmds.c
  15.  
  16.  
  17. *** ../vim-6.2.074/src/ex_cmds.c    Sun Jul 27 14:57:01 2003
  18. --- src/ex_cmds.c    Tue Sep  9 22:03:12 2003
  19. ***************
  20. *** 1523,1529 ****
  21.       if (fp_out == NULL)
  22.       {
  23.       EMSG2(_("E138: Can't write viminfo file %s!"),
  24. !                         fp_in == NULL ? fname : tempname);
  25.       if (fp_in != NULL)
  26.           fclose(fp_in);
  27.       goto end;
  28. --- 1523,1529 ----
  29.       if (fp_out == NULL)
  30.       {
  31.       EMSG2(_("E138: Can't write viminfo file %s!"),
  32. !                (fp_in == NULL || tempname == NUL) ? fname : tempname);
  33.       if (fp_in != NULL)
  34.           fclose(fp_in);
  35.       goto end;
  36. *** ../vim-6.2.074/src/version.c    Tue Sep  9 22:38:27 2003
  37. --- src/version.c    Tue Sep  9 22:47:35 2003
  38. ***************
  39. *** 632,633 ****
  40. --- 632,635 ----
  41.   {   /* Add new patch number below this line */
  42. + /**/
  43. +     75,
  44.   /**/
  45.  
  46. -- 
  47. Q: How do you tell the difference between a female cat and a male cat? 
  48. A: You ask it a question and if HE answers, it's a male but, if SHE
  49.    answers, it's a female.
  50.  
  51.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  52. ///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
  53. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  54.  \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
  55.