Karsten Hopp a2e903
To: vim-dev@vim.org
Karsten Hopp a2e903
Subject: Patch 7.0.080
Karsten Hopp a2e903
Fcc: outbox
Karsten Hopp a2e903
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp a2e903
Mime-Version: 1.0
Karsten Hopp a2e903
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp a2e903
Content-Transfer-Encoding: 8bit
Karsten Hopp a2e903
------------
Karsten Hopp a2e903
Karsten Hopp a2e903
Patch 7.0.080
Karsten Hopp a2e903
Problem:    Generating auto/pathdef.c fails for CFLAGS with a backslash.
Karsten Hopp a2e903
Solution:   Double backslashes in the string. (Alexey Froloff)
Karsten Hopp a2e903
Files:	    src/Makefile
Karsten Hopp a2e903
Karsten Hopp a2e903
Karsten Hopp a2e903
*** ../vim-7.0.079/src/Makefile	Sat Sep  2 15:31:29 2006
Karsten Hopp a2e903
--- src/Makefile	Fri Sep  1 21:00:29 2006
Karsten Hopp a2e903
***************
Karsten Hopp a2e903
*** 2261,2267 ****
Karsten Hopp a2e903
  auto/osdef.h: auto/config.h osdef.sh osdef1.h.in osdef2.h.in
Karsten Hopp a2e903
  	CC="$(CC) $(OSDEF_CFLAGS)" srcdir=$(srcdir) sh $(srcdir)/osdef.sh
Karsten Hopp a2e903
  
Karsten Hopp a2e903
! QUOTESED = sed -e 's/"/\\"/g' -e 's/\\"/"/' -e 's/\\";$$/";/'
Karsten Hopp a2e903
  auto/pathdef.c: Makefile auto/config.mk
Karsten Hopp a2e903
  	-@echo creating $@
Karsten Hopp a2e903
  	-@echo '/* pathdef.c */' > $@
Karsten Hopp a2e903
--- 2262,2268 ----
Karsten Hopp a2e903
  auto/osdef.h: auto/config.h osdef.sh osdef1.h.in osdef2.h.in
Karsten Hopp a2e903
  	CC="$(CC) $(OSDEF_CFLAGS)" srcdir=$(srcdir) sh $(srcdir)/osdef.sh
Karsten Hopp a2e903
  
Karsten Hopp a2e903
! QUOTESED = sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$$/";/'
Karsten Hopp a2e903
  auto/pathdef.c: Makefile auto/config.mk
Karsten Hopp a2e903
  	-@echo creating $@
Karsten Hopp a2e903
  	-@echo '/* pathdef.c */' > $@
Karsten Hopp a2e903
*** ../vim-7.0.079/src/version.c	Sat Sep  2 14:54:17 2006
Karsten Hopp a2e903
--- src/version.c	Sat Sep  2 16:35:50 2006
Karsten Hopp a2e903
***************
Karsten Hopp a2e903
*** 668,669 ****
Karsten Hopp a2e903
--- 668,671 ----
Karsten Hopp a2e903
  {   /* Add new patch number below this line */
Karsten Hopp a2e903
+ /**/
Karsten Hopp a2e903
+     80,
Karsten Hopp a2e903
  /**/
Karsten Hopp a2e903
Karsten Hopp a2e903
-- 
Karsten Hopp a2e903
E  M  A  C  S
Karsten Hopp a2e903
s  e  l  o  h
Karsten Hopp a2e903
c  t  t  n  i
Karsten Hopp a2e903
a  a     t  f
Karsten Hopp a2e903
p        r  t
Karsten Hopp a2e903
e        o
Karsten Hopp a2e903
         l
Karsten Hopp a2e903
Karsten Hopp a2e903
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp a2e903
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp a2e903
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp a2e903
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///