Karsten Hopp 7643fc
To: vim_dev@googlegroups.com
Karsten Hopp 7643fc
Subject: Patch 7.3.626
Karsten Hopp 7643fc
Fcc: outbox
Karsten Hopp 7643fc
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 7643fc
Mime-Version: 1.0
Karsten Hopp 7643fc
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 7643fc
Content-Transfer-Encoding: 8bit
Karsten Hopp 7643fc
------------
Karsten Hopp 7643fc
Karsten Hopp 7643fc
Patch 7.3.626
Karsten Hopp 7643fc
Problem:    Python interface doesn't build with Python 2.4 or older.
Karsten Hopp 7643fc
Solution:   Define Py_ssize_t. (Benjamin Bannier)
Karsten Hopp 7643fc
Files:	    src/if_py_both.h
Karsten Hopp 7643fc
Karsten Hopp 7643fc
Karsten Hopp 7643fc
*** ../vim-7.3.625/src/if_py_both.h	2012-07-25 15:36:00.000000000 +0200
Karsten Hopp 7643fc
--- src/if_py_both.h	2012-08-08 15:53:24.000000000 +0200
Karsten Hopp 7643fc
***************
Karsten Hopp 7643fc
*** 12,17 ****
Karsten Hopp 7643fc
--- 12,21 ----
Karsten Hopp 7643fc
   * Common code for if_python.c and if_python3.c.
Karsten Hopp 7643fc
   */
Karsten Hopp 7643fc
  
Karsten Hopp 7643fc
+ #if PY_VERSION_HEX < 0x02050000
Karsten Hopp 7643fc
+ typedef int Py_ssize_t;  /* Python 2.4 and earlier don't have this type. */
Karsten Hopp 7643fc
+ #endif
Karsten Hopp 7643fc
+ 
Karsten Hopp 7643fc
  #ifdef FEAT_MBYTE
Karsten Hopp 7643fc
  # define ENC_OPT p_enc
Karsten Hopp 7643fc
  #else
Karsten Hopp 7643fc
*** ../vim-7.3.625/src/version.c	2012-08-08 15:27:54.000000000 +0200
Karsten Hopp 7643fc
--- src/version.c	2012-08-08 15:52:07.000000000 +0200
Karsten Hopp 7643fc
***************
Karsten Hopp 7643fc
*** 716,717 ****
Karsten Hopp 7643fc
--- 716,719 ----
Karsten Hopp 7643fc
  {   /* Add new patch number below this line */
Karsten Hopp 7643fc
+ /**/
Karsten Hopp 7643fc
+     626,
Karsten Hopp 7643fc
  /**/
Karsten Hopp 7643fc
Karsten Hopp 7643fc
-- 
Karsten Hopp 7643fc
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 7643fc
224. You set up your own Web page. You set up a Web page for each
Karsten Hopp 7643fc
     of your kids... and your pets.
Karsten Hopp 7643fc
Karsten Hopp 7643fc
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 7643fc
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 7643fc
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 7643fc
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///