Karsten Hopp cec08a
To: vim_dev@googlegroups.com
Karsten Hopp cec08a
Subject: Patch 7.3.125
Karsten Hopp cec08a
Fcc: outbox
Karsten Hopp cec08a
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp cec08a
Mime-Version: 1.0
Karsten Hopp cec08a
Content-Type: text/plain; charset=UTF-8
Karsten Hopp cec08a
Content-Transfer-Encoding: 8bit
Karsten Hopp cec08a
------------
Karsten Hopp cec08a
Karsten Hopp cec08a
Patch 7.3.125
Karsten Hopp cec08a
Problem:    MSVC: Problem with quotes in link argument.
Karsten Hopp cec08a
Solution:   Escape backslashes and quotes. (Weasley)
Karsten Hopp cec08a
Files:	    src/Make_mvc.mak
Karsten Hopp cec08a
Karsten Hopp cec08a
Karsten Hopp cec08a
*** ../vim-7.3.124/src/Make_mvc.mak	2010-12-08 14:54:58.000000000 +0100
Karsten Hopp cec08a
--- src/Make_mvc.mak	2011-02-15 17:55:24.000000000 +0100
Karsten Hopp cec08a
***************
Karsten Hopp cec08a
*** 1159,1164 ****
Karsten Hopp cec08a
--- 1159,1168 ----
Karsten Hopp cec08a
  E0_CFLAGS = $(CFLAGS:\=\\)
Karsten Hopp cec08a
  E_CFLAGS = $(E0_CFLAGS:"=\")
Karsten Hopp cec08a
  # ") stop the string
Karsten Hopp cec08a
+ # $LINKARGS2 may contain backslashes and double quotes, escape them both.
Karsten Hopp cec08a
+ E0_LINKARGS2 = $(LINKARGS2:\=\\)
Karsten Hopp cec08a
+ E_LINKARGS2 = $(E0_LINKARGS2:"=\")
Karsten Hopp cec08a
+ # ") stop the string
Karsten Hopp cec08a
  
Karsten Hopp cec08a
  $(PATHDEF_SRC): auto
Karsten Hopp cec08a
  	@echo creating $(PATHDEF_SRC)
Karsten Hopp cec08a
***************
Karsten Hopp cec08a
*** 1167,1173 ****
Karsten Hopp cec08a
  	@echo char_u *default_vim_dir = (char_u *)"$(VIMRCLOC:\=\\)"; >> $(PATHDEF_SRC)
Karsten Hopp cec08a
  	@echo char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR:\=\\)"; >> $(PATHDEF_SRC)
Karsten Hopp cec08a
  	@echo char_u *all_cflags = (char_u *)"$(CC:\=\\) $(E_CFLAGS)"; >> $(PATHDEF_SRC)
Karsten Hopp cec08a
! 	@echo char_u *all_lflags = (char_u *)"$(link:\=\\) $(LINKARGS1:\=\\) $(LINKARGS2:\=\\)"; >> $(PATHDEF_SRC)
Karsten Hopp cec08a
  	@echo char_u *compiled_user = (char_u *)"$(USERNAME)"; >> $(PATHDEF_SRC)
Karsten Hopp cec08a
  	@echo char_u *compiled_sys = (char_u *)"$(USERDOMAIN)"; >> $(PATHDEF_SRC)
Karsten Hopp cec08a
  
Karsten Hopp cec08a
--- 1171,1177 ----
Karsten Hopp cec08a
  	@echo char_u *default_vim_dir = (char_u *)"$(VIMRCLOC:\=\\)"; >> $(PATHDEF_SRC)
Karsten Hopp cec08a
  	@echo char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR:\=\\)"; >> $(PATHDEF_SRC)
Karsten Hopp cec08a
  	@echo char_u *all_cflags = (char_u *)"$(CC:\=\\) $(E_CFLAGS)"; >> $(PATHDEF_SRC)
Karsten Hopp cec08a
! 	@echo char_u *all_lflags = (char_u *)"$(link:\=\\) $(LINKARGS1:\=\\) $(E_LINKARGS2)"; >> $(PATHDEF_SRC)
Karsten Hopp cec08a
  	@echo char_u *compiled_user = (char_u *)"$(USERNAME)"; >> $(PATHDEF_SRC)
Karsten Hopp cec08a
  	@echo char_u *compiled_sys = (char_u *)"$(USERDOMAIN)"; >> $(PATHDEF_SRC)
Karsten Hopp cec08a
  
Karsten Hopp cec08a
*** ../vim-7.3.124/src/version.c	2011-02-15 17:39:14.000000000 +0100
Karsten Hopp cec08a
--- src/version.c	2011-02-15 17:55:49.000000000 +0100
Karsten Hopp cec08a
***************
Karsten Hopp cec08a
*** 716,717 ****
Karsten Hopp cec08a
--- 716,719 ----
Karsten Hopp cec08a
  {   /* Add new patch number below this line */
Karsten Hopp cec08a
+ /**/
Karsten Hopp cec08a
+     125,
Karsten Hopp cec08a
  /**/
Karsten Hopp cec08a
Karsten Hopp cec08a
-- 
Karsten Hopp cec08a
hundred-and-one symptoms of being an internet addict:
Karsten Hopp cec08a
271. You collect hilarious signatures from all 250 mailing lists you
Karsten Hopp cec08a
     are subscribed to.
Karsten Hopp cec08a
Karsten Hopp cec08a
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp cec08a
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp cec08a
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp cec08a
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///