Karsten Hopp 2d308e
To: vim-dev@vim.org
Karsten Hopp 2d308e
Subject: Patch 7.0.047
Karsten Hopp 2d308e
Fcc: outbox
Karsten Hopp 2d308e
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 2d308e
Mime-Version: 1.0
Karsten Hopp 2d308e
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 2d308e
Content-Transfer-Encoding: 8bit
Karsten Hopp 2d308e
------------
Karsten Hopp 2d308e
Karsten Hopp 2d308e
Patch 7.0.047
Karsten Hopp 2d308e
Problem:    When running configure the exit status is wrong.
Karsten Hopp 2d308e
Solution:   Handle the exit status properly. (Matthew Woehlke)
Karsten Hopp 2d308e
Files:	    configure, src/configure
Karsten Hopp 2d308e
Karsten Hopp 2d308e
Karsten Hopp 2d308e
*** ../vim-7.0.046/configure	Sun Jun 13 21:32:42 2004
Karsten Hopp 2d308e
--- configure	Mon Jul 10 20:26:26 2006
Karsten Hopp 2d308e
***************
Karsten Hopp 2d308e
*** 3,6 ****
Karsten Hopp 2d308e
  # This is just a stub for the Unix configure script, to provide support for
Karsten Hopp 2d308e
  # doing "./configure" in the top Vim directory.
Karsten Hopp 2d308e
  
Karsten Hopp 2d308e
! cd src && ./configure "$@"
Karsten Hopp 2d308e
--- 3,6 ----
Karsten Hopp 2d308e
  # This is just a stub for the Unix configure script, to provide support for
Karsten Hopp 2d308e
  # doing "./configure" in the top Vim directory.
Karsten Hopp 2d308e
  
Karsten Hopp 2d308e
! cd src && exec ./configure "$@"
Karsten Hopp 2d308e
*** ../vim-7.0.046/src/configure	Thu Dec 22 23:38:38 2005
Karsten Hopp 2d308e
--- src/configure	Mon Jul 10 20:26:53 2006
Karsten Hopp 2d308e
***************
Karsten Hopp 2d308e
*** 2,6 ****
Karsten Hopp 2d308e
--- 2,10 ----
Karsten Hopp 2d308e
  # run the automatically generated configure script
Karsten Hopp 2d308e
  CONFIG_STATUS=auto/config.status \
Karsten Hopp 2d308e
  	auto/configure "$@" --srcdir="${srcdir:-.}" --cache-file=auto/config.cache
Karsten Hopp 2d308e
+ result=$?
Karsten Hopp 2d308e
+ 
Karsten Hopp 2d308e
  # Stupid autoconf 2.5x causes this file to be left behind.
Karsten Hopp 2d308e
  if test -f configure.lineno; then rm -f configure.lineno; fi
Karsten Hopp 2d308e
+ 
Karsten Hopp 2d308e
+ exit $result
Karsten Hopp 2d308e
*** ../vim-7.0.046/src/version.c	Tue Aug  8 18:08:54 2006
Karsten Hopp 2d308e
--- src/version.c	Tue Aug  8 19:09:54 2006
Karsten Hopp 2d308e
***************
Karsten Hopp 2d308e
*** 668,669 ****
Karsten Hopp 2d308e
--- 668,671 ----
Karsten Hopp 2d308e
  {   /* Add new patch number below this line */
Karsten Hopp 2d308e
+ /**/
Karsten Hopp 2d308e
+     47,
Karsten Hopp 2d308e
  /**/
Karsten Hopp 2d308e
Karsten Hopp 2d308e
-- 
Karsten Hopp 2d308e
The primary purpose of the DATA statement is to give names to constants;
Karsten Hopp 2d308e
instead of referring to pi as 3.141592653589793 at every appearance, the
Karsten Hopp 2d308e
variable PI can be given that value with a DATA statement and used instead
Karsten Hopp 2d308e
of the longer form of the constant.  This also simplifies modifying the
Karsten Hopp 2d308e
program, should the value of pi change.
Karsten Hopp 2d308e
	-- FORTRAN manual for Xerox Computers
Karsten Hopp 2d308e
Karsten Hopp 2d308e
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 2d308e
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 2d308e
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 2d308e
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///