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.4 / 7.4.340 < prev    next >
Encoding:
Internet Message Format  |  2014-06-24  |  3.1 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.340
  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.4.340
  11. Problem:    Error from sed about illegal bytes when installing Vim.
  12. Solution:   Prepend LC_ALL=C. (Itchyny)
  13. Files:        src/installman.sh
  14.  
  15.  
  16. *** ../vim-7.4.339/src/installman.sh    2010-05-15 13:04:07.000000000 +0200
  17. --- src/installman.sh    2014-06-25 14:54:11.742381748 +0200
  18. ***************
  19. *** 43,52 ****
  20.      fi
  21.   fi
  22.   
  23.   if test $what = "install"; then
  24.      # vim.1
  25.      echo installing $destdir/$exename.1
  26. !    sed -e s+/usr/local/lib/vim+$vimloc+ \
  27.          -e s+$vimloc/doc+$helpsubloc+ \
  28.          -e s+$vimloc/print+$printsubloc+ \
  29.          -e s+$vimloc/syntax+$synsubloc+ \
  30. --- 43,55 ----
  31.      fi
  32.   fi
  33.   
  34. + # Note: setting LC_ALL to C is required to avoid illegal byte errors from sed
  35. + # on some systems.
  36.   if test $what = "install"; then
  37.      # vim.1
  38.      echo installing $destdir/$exename.1
  39. !    LC_ALL=C sed -e s+/usr/local/lib/vim+$vimloc+ \
  40.          -e s+$vimloc/doc+$helpsubloc+ \
  41.          -e s+$vimloc/print+$printsubloc+ \
  42.          -e s+$vimloc/syntax+$synsubloc+ \
  43. ***************
  44. *** 64,70 ****
  45.   
  46.      # vimtutor.1
  47.      echo installing $destdir/$exename""tutor.1
  48. !    sed -e s+/usr/local/lib/vim+$vimloc+ \
  49.          -e s+$vimloc/tutor+$tutorsubloc+ \
  50.          $helpsource/vimtutor$langadd.1 > $destdir/$exename""tutor.1
  51.      chmod $manmod $destdir/$exename""tutor.1
  52. --- 67,73 ----
  53.   
  54.      # vimtutor.1
  55.      echo installing $destdir/$exename""tutor.1
  56. !    LC_ALL=C sed -e s+/usr/local/lib/vim+$vimloc+ \
  57.          -e s+$vimloc/tutor+$tutorsubloc+ \
  58.          $helpsource/vimtutor$langadd.1 > $destdir/$exename""tutor.1
  59.      chmod $manmod $destdir/$exename""tutor.1
  60. ***************
  61. *** 76,82 ****
  62.   
  63.      # evim.1
  64.      echo installing $destdir/$evimname.1
  65. !    sed -e s+/usr/local/lib/vim+$vimloc+ \
  66.          -e s+$vimloc/evim.vim+$scriptloc/evim.vim+ \
  67.          $helpsource/evim$langadd.1 > $destdir/$evimname.1
  68.      chmod $manmod $destdir/$evimname.1
  69. --- 79,85 ----
  70.   
  71.      # evim.1
  72.      echo installing $destdir/$evimname.1
  73. !    LC_ALL=C sed -e s+/usr/local/lib/vim+$vimloc+ \
  74.          -e s+$vimloc/evim.vim+$scriptloc/evim.vim+ \
  75.          $helpsource/evim$langadd.1 > $destdir/$evimname.1
  76.      chmod $manmod $destdir/$evimname.1
  77. *** ../vim-7.4.339/src/version.c    2014-06-25 14:44:04.458358774 +0200
  78. --- src/version.c    2014-06-25 14:55:14.198384111 +0200
  79. ***************
  80. *** 736,737 ****
  81. --- 736,739 ----
  82.   {   /* Add new patch number below this line */
  83. + /**/
  84. +     340,
  85.   /**/
  86.  
  87. -- 
  88. DEAD PERSON:  I'm getting better!
  89. CUSTOMER:     No, you're not -- you'll be stone dead in a moment.
  90. MORTICIAN:    Oh, I can't take him like that -- it's against regulations.
  91.                                   The Quest for the Holy Grail (Monty Python)
  92.  
  93.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  94. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  95. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  96.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  97.