Patch 7.4.127
Problem:    Perl 5.18 on Unix doesn't work.
Solution:   Move workaround to after including vim.h. (Ken Takata)
Files:      src/if_perl.xs


*** ../vim-7.4.126/src/if_perl.xs       2013-12-11 17:20:14.000000000 +0100
--- src/if_perl.xs      2013-12-14 11:41:56.000000000 +0100
***************
*** 24,36 ****
  # define _USE_32BIT_TIME_T
  #endif
  
- /* Work around for perl-5.18.
-  * Don't include "perl\lib\CORE\inline.h" for now,
-  * include it after Perl_sv_free2 is defined. */
- #ifdef DYNAMIC_PERL
- # define PERL_NO_INLINE_FUNCTIONS
- #endif
- 
  /*
   * Prevent including winsock.h.  perl.h tries to detect whether winsock.h is
   * already included before including winsock2.h, because winsock2.h isn't
--- 24,29 ----
***************
*** 44,49 ****
--- 37,49 ----
  
  #include "vim.h"
  
+ /* Work around for perl-5.18.
+  * Don't include "perl\lib\CORE\inline.h" for now,
+  * include it after Perl_sv_free2 is defined. */
+ #ifdef DYNAMIC_PERL
+ # define PERL_NO_INLINE_FUNCTIONS
+ #endif
+ 
  #include <EXTERN.h>
  #include <perl.h>
  #include <XSUB.h>
*** ../vim-7.4.126/src/version.c        2013-12-12 20:25:39.000000000 +0100
--- src/version.c       2013-12-14 11:43:54.000000000 +0100
***************
*** 740,741 ****
--- 740,743 ----
  {   /* Add new patch number below this line */
+ /**/
+     127,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
54. You start tilting your head sideways to smile. :-)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui