home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.3 / 7.3.976 < prev    next >
Encoding:
Internet Message Format  |  2013-05-19  |  2.2 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.976
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.3.976
  11. Problem:    Can't build on HP-UX.
  12. Solution:   Remove modern initialization. (John Marriott)
  13. Files:        src/regexp_nfa.c
  14.  
  15.  
  16. *** ../vim-7.3.975/src/regexp_nfa.c    2013-05-20 13:44:24.000000000 +0200
  17. --- src/regexp_nfa.c    2013-05-20 13:51:07.000000000 +0200
  18. ***************
  19. *** 1961,1974 ****
  20.   static Frag_T st_pop __ARGS((Frag_T **p, Frag_T *stack));
  21.   
  22.   /*
  23. !  * Initialize Frag_T struct.
  24.    */
  25.       static Frag_T
  26.   frag(start, out)
  27.       nfa_state_T    *start;
  28.       Ptrlist    *out;
  29.   {
  30. !     Frag_T n = { start, out };
  31.       return n;
  32.   }
  33.   
  34. --- 1961,1977 ----
  35.   static Frag_T st_pop __ARGS((Frag_T **p, Frag_T *stack));
  36.   
  37.   /*
  38. !  * Initialize a Frag_T struct and return it.
  39.    */
  40.       static Frag_T
  41.   frag(start, out)
  42.       nfa_state_T    *start;
  43.       Ptrlist    *out;
  44.   {
  45. !     Frag_T n;
  46. !     n.start = start;
  47. !     n.out = out;
  48.       return n;
  49.   }
  50.   
  51. ***************
  52. *** 2144,2150 ****
  53.       if (postfix == NULL)
  54.       return NULL;
  55.   
  56. ! #define PUSH(s)        st_push ((s), &stackp, stack_end)
  57.   #define POP()        st_pop(&stackp, stack);        \
  58.               if (stackp < stack)            \
  59.               {                    \
  60. --- 2147,2153 ----
  61.       if (postfix == NULL)
  62.       return NULL;
  63.   
  64. ! #define PUSH(s)        st_push((s), &stackp, stack_end)
  65.   #define POP()        st_pop(&stackp, stack);        \
  66.               if (stackp < stack)            \
  67.               {                    \
  68. *** ../vim-7.3.975/src/version.c    2013-05-20 13:44:24.000000000 +0200
  69. --- src/version.c    2013-05-20 13:54:56.000000000 +0200
  70. ***************
  71. *** 730,731 ****
  72. --- 730,733 ----
  73.   {   /* Add new patch number below this line */
  74. + /**/
  75. +     976,
  76.   /**/
  77.  
  78. -- 
  79. Dogs must have a permit signed by the mayor in order to congregate in groups
  80. of three or more on private property.
  81.         [real standing law in Oklahoma, United States of America]
  82.  
  83.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  84. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  85. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  86.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  87.