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 / old / 5.4.1 next >
Encoding:
Internet Message Format  |  1999-07-26  |  3.3 KB

  1. To: Matthew Jackson <matthewj@failife.com.au>
  2. In-Reply-To: <199907262332.JAA24046@testweb.failife.com.au>
  3. Cc: vim-dev@vim.org
  4. Subject: patch 5.4.1 (was: [54] Minor make test problem)
  5. Fcc: outbox
  6. From: Bram Moolenaar <Bram@moolenaar.net>
  7. ------------
  8.  
  9. Matthew Jackson wrote:
  10.  
  11. > I have discovered one minor problem with make test in vim-5.4. Make test will
  12. > fail on test11 if the GZIP environment variable has -v set (the GZIP variable
  13. > specifies default options to gzip). This causes a difference in test.out from
  14. > test11.ok with some extra text emitted by gzip.
  15. > The fix: unset GZIP before running
  16.  
  17. Indeed, that fixes the problem.  Although this isn't really an important
  18. problem, I'll make a patch for it anyway.
  19.  
  20. As you can see, I also included a patch for version.h.  This will indicate the
  21. patch level in ":version" and the intro screen.  A disadvantage is that
  22. applying a patch without the previous one will fail.  Well, only the change to
  23. version.h will be missing.
  24.  
  25. This is a bit of a contridiction: This is the first patch, but the executable
  26. doesn't really change.  But numbering the Vim versions differently from the
  27. patch number would be very confusing.  Let's just consider the version number
  28. to apply to Vim as a whole, not just the executable.
  29.  
  30. I'll create ftp.vim.org/pub/vim/patches and upload the patches there.  It will
  31. lag behind a day or so.
  32.  
  33.  
  34. Patch 5.4.1
  35. Problem:    Test11 fails when $GZIP is set to "-v". (Matthew Jackson)
  36. Solution:   Set $GZIP to an empty string.
  37. Files:      src/testdir/test11.in
  38.  
  39.  
  40. *** ../vim-5.4/src/testdir/test11.in    Sun Jul 25 22:01:53 1999
  41. --- src/testdir/test11.in    Tue Jul 27 11:12:32 1999
  42. ***************
  43. *** 9,16 ****
  44. --- 9,18 ----
  45.   - FileReadPost        decompress the file
  46.   
  47.   Note: This test will fail if "gzip" is not available.
  48. + $GZIP is made empty, "-v" would cause trouble.
  49.   
  50.   STARTTEST
  51. + :let $GZIP = ""
  52.   :set bin
  53.   :au FileWritePre    *.gz   '[,']!gzip
  54.   :au FileWritePost   *.gz   undo
  55. *** ../vim-5.4/src/version.h    Sun Jul 25 22:02:08 1999
  56. --- src/version.h    Tue Jul 27 12:14:27 1999
  57. ***************
  58. *** 19,26 ****
  59.   #define VIM_VERSION_MINOR_STR        "4"
  60.   #define VIM_VERSION_BUILD         57
  61.   #define VIM_VERSION_BUILD_STR        "57"
  62. ! #define VIM_VERSION_PATCHLEVEL         0
  63. ! #define VIM_VERSION_PATCHLEVEL_STR    "0"
  64.   
  65.   /*
  66.    * VIM_VERSION_NODOT is used for the runtime directory name.
  67. --- 19,26 ----
  68.   #define VIM_VERSION_MINOR_STR        "4"
  69.   #define VIM_VERSION_BUILD         57
  70.   #define VIM_VERSION_BUILD_STR        "57"
  71. ! #define VIM_VERSION_PATCHLEVEL         1
  72. ! #define VIM_VERSION_PATCHLEVEL_STR    "1"
  73.   
  74.   /*
  75.    * VIM_VERSION_NODOT is used for the runtime directory name.
  76. ***************
  77. *** 30,35 ****
  78.    */
  79.   #define VIM_VERSION_NODOT    "vim54"
  80.   #define VIM_VERSION_SHORT    "5.4"
  81. ! #define VIM_VERSION_MEDIUM    "5.4"
  82. ! #define VIM_VERSION_LONG    "VIM - Vi IMproved 5.4 (1999 Jul 25)"
  83. ! #define VIM_VERSION_LONG_DATE    "VIM - Vi IMproved 5.4 (1999 Jul 25, compiled "
  84. --- 30,35 ----
  85.    */
  86.   #define VIM_VERSION_NODOT    "vim54"
  87.   #define VIM_VERSION_SHORT    "5.4"
  88. ! #define VIM_VERSION_MEDIUM    "5.4.1"
  89. ! #define VIM_VERSION_LONG    "VIM - Vi IMproved 5.4.1 (1999 Jul 27)"
  90. ! #define VIM_VERSION_LONG_DATE    "VIM - Vi IMproved 5.4.1 (1999 Jul 27, compiled "
  91.  
  92. --
  93. press CTRL-ALT-DEL for more information
  94.  
  95. --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\--
  96.   \ \    www.vim.org/iccf      www.moolenaar.net       www.vim.org    / /
  97.