Karsten Hopp 3025e4
To: vim_dev@googlegroups.com
Karsten Hopp 3025e4
Subject: Patch 7.4.340
Karsten Hopp 3025e4
Fcc: outbox
Karsten Hopp 3025e4
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 3025e4
Mime-Version: 1.0
Karsten Hopp 3025e4
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 3025e4
Content-Transfer-Encoding: 8bit
Karsten Hopp 3025e4
------------
Karsten Hopp 3025e4
Karsten Hopp 3025e4
Patch 7.4.340
Karsten Hopp 3025e4
Problem:    Error from sed about illegal bytes when installing Vim.
Karsten Hopp 3025e4
Solution:   Prepend LC_ALL=C. (Itchyny)
Karsten Hopp 3025e4
Files:	    src/installman.sh
Karsten Hopp 3025e4
Karsten Hopp 3025e4
Karsten Hopp 3025e4
*** ../vim-7.4.339/src/installman.sh	2010-05-15 13:04:07.000000000 +0200
Karsten Hopp 3025e4
--- src/installman.sh	2014-06-25 14:54:11.742381748 +0200
Karsten Hopp 3025e4
***************
Karsten Hopp 3025e4
*** 43,52 ****
Karsten Hopp 3025e4
     fi
Karsten Hopp 3025e4
  fi
Karsten Hopp 3025e4
  
Karsten Hopp 3025e4
  if test $what = "install"; then
Karsten Hopp 3025e4
     # vim.1
Karsten Hopp 3025e4
     echo installing $destdir/$exename.1
Karsten Hopp 3025e4
!    sed -e s+/usr/local/lib/vim+$vimloc+ \
Karsten Hopp 3025e4
  	   -e s+$vimloc/doc+$helpsubloc+ \
Karsten Hopp 3025e4
  	   -e s+$vimloc/print+$printsubloc+ \
Karsten Hopp 3025e4
  	   -e s+$vimloc/syntax+$synsubloc+ \
Karsten Hopp 3025e4
--- 43,55 ----
Karsten Hopp 3025e4
     fi
Karsten Hopp 3025e4
  fi
Karsten Hopp 3025e4
  
Karsten Hopp 3025e4
+ # Note: setting LC_ALL to C is required to avoid illegal byte errors from sed
Karsten Hopp 3025e4
+ # on some systems.
Karsten Hopp 3025e4
+ 
Karsten Hopp 3025e4
  if test $what = "install"; then
Karsten Hopp 3025e4
     # vim.1
Karsten Hopp 3025e4
     echo installing $destdir/$exename.1
Karsten Hopp 3025e4
!    LC_ALL=C sed -e s+/usr/local/lib/vim+$vimloc+ \
Karsten Hopp 3025e4
  	   -e s+$vimloc/doc+$helpsubloc+ \
Karsten Hopp 3025e4
  	   -e s+$vimloc/print+$printsubloc+ \
Karsten Hopp 3025e4
  	   -e s+$vimloc/syntax+$synsubloc+ \
Karsten Hopp 3025e4
***************
Karsten Hopp 3025e4
*** 64,70 ****
Karsten Hopp 3025e4
  
Karsten Hopp 3025e4
     # vimtutor.1
Karsten Hopp 3025e4
     echo installing $destdir/$exename""tutor.1
Karsten Hopp 3025e4
!    sed -e s+/usr/local/lib/vim+$vimloc+ \
Karsten Hopp 3025e4
  	   -e s+$vimloc/tutor+$tutorsubloc+ \
Karsten Hopp 3025e4
  	   $helpsource/vimtutor$langadd.1 > $destdir/$exename""tutor.1
Karsten Hopp 3025e4
     chmod $manmod $destdir/$exename""tutor.1
Karsten Hopp 3025e4
--- 67,73 ----
Karsten Hopp 3025e4
  
Karsten Hopp 3025e4
     # vimtutor.1
Karsten Hopp 3025e4
     echo installing $destdir/$exename""tutor.1
Karsten Hopp 3025e4
!    LC_ALL=C sed -e s+/usr/local/lib/vim+$vimloc+ \
Karsten Hopp 3025e4
  	   -e s+$vimloc/tutor+$tutorsubloc+ \
Karsten Hopp 3025e4
  	   $helpsource/vimtutor$langadd.1 > $destdir/$exename""tutor.1
Karsten Hopp 3025e4
     chmod $manmod $destdir/$exename""tutor.1
Karsten Hopp 3025e4
***************
Karsten Hopp 3025e4
*** 76,82 ****
Karsten Hopp 3025e4
  
Karsten Hopp 3025e4
     # evim.1
Karsten Hopp 3025e4
     echo installing $destdir/$evimname.1
Karsten Hopp 3025e4
!    sed -e s+/usr/local/lib/vim+$vimloc+ \
Karsten Hopp 3025e4
  	   -e s+$vimloc/evim.vim+$scriptloc/evim.vim+ \
Karsten Hopp 3025e4
  	   $helpsource/evim$langadd.1 > $destdir/$evimname.1
Karsten Hopp 3025e4
     chmod $manmod $destdir/$evimname.1
Karsten Hopp 3025e4
--- 79,85 ----
Karsten Hopp 3025e4
  
Karsten Hopp 3025e4
     # evim.1
Karsten Hopp 3025e4
     echo installing $destdir/$evimname.1
Karsten Hopp 3025e4
!    LC_ALL=C sed -e s+/usr/local/lib/vim+$vimloc+ \
Karsten Hopp 3025e4
  	   -e s+$vimloc/evim.vim+$scriptloc/evim.vim+ \
Karsten Hopp 3025e4
  	   $helpsource/evim$langadd.1 > $destdir/$evimname.1
Karsten Hopp 3025e4
     chmod $manmod $destdir/$evimname.1
Karsten Hopp 3025e4
*** ../vim-7.4.339/src/version.c	2014-06-25 14:44:04.458358774 +0200
Karsten Hopp 3025e4
--- src/version.c	2014-06-25 14:55:14.198384111 +0200
Karsten Hopp 3025e4
***************
Karsten Hopp 3025e4
*** 736,737 ****
Karsten Hopp 3025e4
--- 736,739 ----
Karsten Hopp 3025e4
  {   /* Add new patch number below this line */
Karsten Hopp 3025e4
+ /**/
Karsten Hopp 3025e4
+     340,
Karsten Hopp 3025e4
  /**/
Karsten Hopp 3025e4
Karsten Hopp 3025e4
-- 
Karsten Hopp 3025e4
DEAD PERSON:  I'm getting better!
Karsten Hopp 3025e4
CUSTOMER:     No, you're not -- you'll be stone dead in a moment.
Karsten Hopp 3025e4
MORTICIAN:    Oh, I can't take him like that -- it's against regulations.
Karsten Hopp 3025e4
                                  The Quest for the Holy Grail (Monty Python)
Karsten Hopp 3025e4
Karsten Hopp 3025e4
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 3025e4
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 3025e4
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 3025e4
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///