Karsten Hopp 6d34bf
To: vim_dev@googlegroups.com
Karsten Hopp 6d34bf
Subject: Patch 7.3.976
Karsten Hopp 6d34bf
Fcc: outbox
Karsten Hopp 6d34bf
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 6d34bf
Mime-Version: 1.0
Karsten Hopp 6d34bf
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 6d34bf
Content-Transfer-Encoding: 8bit
Karsten Hopp 6d34bf
------------
Karsten Hopp 6d34bf
Karsten Hopp 6d34bf
Patch 7.3.976
Karsten Hopp 6d34bf
Problem:    Can't build on HP-UX.
Karsten Hopp 6d34bf
Solution:   Remove modern initialization. (John Marriott)
Karsten Hopp 6d34bf
Files:	    src/regexp_nfa.c
Karsten Hopp 6d34bf
Karsten Hopp 6d34bf
Karsten Hopp 6d34bf
*** ../vim-7.3.975/src/regexp_nfa.c	2013-05-20 13:44:24.000000000 +0200
Karsten Hopp 6d34bf
--- src/regexp_nfa.c	2013-05-20 13:51:07.000000000 +0200
Karsten Hopp 6d34bf
***************
Karsten Hopp 6d34bf
*** 1961,1974 ****
Karsten Hopp 6d34bf
  static Frag_T st_pop __ARGS((Frag_T **p, Frag_T *stack));
Karsten Hopp 6d34bf
  
Karsten Hopp 6d34bf
  /*
Karsten Hopp 6d34bf
!  * Initialize Frag_T struct.
Karsten Hopp 6d34bf
   */
Karsten Hopp 6d34bf
      static Frag_T
Karsten Hopp 6d34bf
  frag(start, out)
Karsten Hopp 6d34bf
      nfa_state_T	*start;
Karsten Hopp 6d34bf
      Ptrlist	*out;
Karsten Hopp 6d34bf
  {
Karsten Hopp 6d34bf
!     Frag_T n = { start, out };
Karsten Hopp 6d34bf
      return n;
Karsten Hopp 6d34bf
  }
Karsten Hopp 6d34bf
  
Karsten Hopp 6d34bf
--- 1961,1977 ----
Karsten Hopp 6d34bf
  static Frag_T st_pop __ARGS((Frag_T **p, Frag_T *stack));
Karsten Hopp 6d34bf
  
Karsten Hopp 6d34bf
  /*
Karsten Hopp 6d34bf
!  * Initialize a Frag_T struct and return it.
Karsten Hopp 6d34bf
   */
Karsten Hopp 6d34bf
      static Frag_T
Karsten Hopp 6d34bf
  frag(start, out)
Karsten Hopp 6d34bf
      nfa_state_T	*start;
Karsten Hopp 6d34bf
      Ptrlist	*out;
Karsten Hopp 6d34bf
  {
Karsten Hopp 6d34bf
!     Frag_T n;
Karsten Hopp 6d34bf
! 
Karsten Hopp 6d34bf
!     n.start = start;
Karsten Hopp 6d34bf
!     n.out = out;
Karsten Hopp 6d34bf
      return n;
Karsten Hopp 6d34bf
  }
Karsten Hopp 6d34bf
  
Karsten Hopp 6d34bf
***************
Karsten Hopp 6d34bf
*** 2144,2150 ****
Karsten Hopp 6d34bf
      if (postfix == NULL)
Karsten Hopp 6d34bf
  	return NULL;
Karsten Hopp 6d34bf
  
Karsten Hopp 6d34bf
! #define PUSH(s)	    st_push ((s), &stackp, stack_end)
Karsten Hopp 6d34bf
  #define POP()	    st_pop(&stackp, stack);		\
Karsten Hopp 6d34bf
  		    if (stackp < stack)			\
Karsten Hopp 6d34bf
  		    {					\
Karsten Hopp 6d34bf
--- 2147,2153 ----
Karsten Hopp 6d34bf
      if (postfix == NULL)
Karsten Hopp 6d34bf
  	return NULL;
Karsten Hopp 6d34bf
  
Karsten Hopp 6d34bf
! #define PUSH(s)	    st_push((s), &stackp, stack_end)
Karsten Hopp 6d34bf
  #define POP()	    st_pop(&stackp, stack);		\
Karsten Hopp 6d34bf
  		    if (stackp < stack)			\
Karsten Hopp 6d34bf
  		    {					\
Karsten Hopp 6d34bf
*** ../vim-7.3.975/src/version.c	2013-05-20 13:44:24.000000000 +0200
Karsten Hopp 6d34bf
--- src/version.c	2013-05-20 13:54:56.000000000 +0200
Karsten Hopp 6d34bf
***************
Karsten Hopp 6d34bf
*** 730,731 ****
Karsten Hopp 6d34bf
--- 730,733 ----
Karsten Hopp 6d34bf
  {   /* Add new patch number below this line */
Karsten Hopp 6d34bf
+ /**/
Karsten Hopp 6d34bf
+     976,
Karsten Hopp 6d34bf
  /**/
Karsten Hopp 6d34bf
Karsten Hopp 6d34bf
-- 
Karsten Hopp 6d34bf
Dogs must have a permit signed by the mayor in order to congregate in groups
Karsten Hopp 6d34bf
of three or more on private property.
Karsten Hopp 6d34bf
		[real standing law in Oklahoma, United States of America]
Karsten Hopp 6d34bf
Karsten Hopp 6d34bf
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 6d34bf
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 6d34bf
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 6d34bf
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///