|
Karsten Hopp |
485eb4 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
485eb4 |
Subject: Patch 7.0.028 (extra)
|
|
Karsten Hopp |
485eb4 |
Fcc: outbox
|
|
Karsten Hopp |
485eb4 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
485eb4 |
Mime-Version: 1.0
|
|
Karsten Hopp |
485eb4 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
485eb4 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
485eb4 |
------------
|
|
Karsten Hopp |
485eb4 |
|
|
Karsten Hopp |
485eb4 |
Patch 7.0.028 (extra)
|
|
Karsten Hopp |
485eb4 |
Problem: OS/2: Vim doesn't compile with gcc 3.2.1.
|
|
Karsten Hopp |
485eb4 |
Solution: Add argument to after_pathsep(), don't define vim_handle_signal(),
|
|
Karsten Hopp |
485eb4 |
define HAVE_STDARG_H. (David Sanders)
|
|
Karsten Hopp |
485eb4 |
Files: src/os_unix.c, src/vim.h, src/os_os2_cfg.h
|
|
Karsten Hopp |
485eb4 |
|
|
Karsten Hopp |
485eb4 |
|
|
Karsten Hopp |
485eb4 |
*** ../vim-7.0.027/src/os_unix.c Thu Jun 22 18:06:48 2006
|
|
Karsten Hopp |
485eb4 |
--- src/os_unix.c Sat Jun 17 21:00:14 2006
|
|
Karsten Hopp |
485eb4 |
***************
|
|
Karsten Hopp |
485eb4 |
*** 4971,4977 ****
|
|
Karsten Hopp |
485eb4 |
if (((*file)[*num_file] = alloc(len + 2)) != NULL)
|
|
Karsten Hopp |
485eb4 |
{
|
|
Karsten Hopp |
485eb4 |
STRCPY((*file)[*num_file], p);
|
|
Karsten Hopp |
485eb4 |
! if (!after_pathsep((*file)[*num_file] + len))
|
|
Karsten Hopp |
485eb4 |
{
|
|
Karsten Hopp |
485eb4 |
(*file)[*num_file][len] = psepc;
|
|
Karsten Hopp |
485eb4 |
(*file)[*num_file][len + 1] = NUL;
|
|
Karsten Hopp |
485eb4 |
--- 4971,4978 ----
|
|
Karsten Hopp |
485eb4 |
if (((*file)[*num_file] = alloc(len + 2)) != NULL)
|
|
Karsten Hopp |
485eb4 |
{
|
|
Karsten Hopp |
485eb4 |
STRCPY((*file)[*num_file], p);
|
|
Karsten Hopp |
485eb4 |
! if (!after_pathsep((*file)[*num_file],
|
|
Karsten Hopp |
485eb4 |
! (*file)[*num_file] + len))
|
|
Karsten Hopp |
485eb4 |
{
|
|
Karsten Hopp |
485eb4 |
(*file)[*num_file][len] = psepc;
|
|
Karsten Hopp |
485eb4 |
(*file)[*num_file][len + 1] = NUL;
|
|
Karsten Hopp |
485eb4 |
*** ../vim-7.0.027/src/vim.h Sun Apr 30 20:27:22 2006
|
|
Karsten Hopp |
485eb4 |
--- src/vim.h Sat Jun 17 20:59:31 2006
|
|
Karsten Hopp |
485eb4 |
***************
|
|
Karsten Hopp |
485eb4 |
*** 1983,1989 ****
|
|
Karsten Hopp |
485eb4 |
/* values for vim_handle_signal() that are not a signal */
|
|
Karsten Hopp |
485eb4 |
#define SIGNAL_BLOCK -1
|
|
Karsten Hopp |
485eb4 |
#define SIGNAL_UNBLOCK -2
|
|
Karsten Hopp |
485eb4 |
! #if !defined(UNIX) && !defined(VMS)
|
|
Karsten Hopp |
485eb4 |
# define vim_handle_signal(x) 0
|
|
Karsten Hopp |
485eb4 |
#endif
|
|
Karsten Hopp |
485eb4 |
|
|
Karsten Hopp |
485eb4 |
--- 1983,1989 ----
|
|
Karsten Hopp |
485eb4 |
/* values for vim_handle_signal() that are not a signal */
|
|
Karsten Hopp |
485eb4 |
#define SIGNAL_BLOCK -1
|
|
Karsten Hopp |
485eb4 |
#define SIGNAL_UNBLOCK -2
|
|
Karsten Hopp |
485eb4 |
! #if !defined(UNIX) && !defined(VMS) && !defined(OS2)
|
|
Karsten Hopp |
485eb4 |
# define vim_handle_signal(x) 0
|
|
Karsten Hopp |
485eb4 |
#endif
|
|
Karsten Hopp |
485eb4 |
|
|
Karsten Hopp |
485eb4 |
*** ../vim-7.0.027/src/os_os2_cfg.h Sun Jun 13 18:47:02 2004
|
|
Karsten Hopp |
485eb4 |
--- src/os_os2_cfg.h Sat Jun 17 20:58:56 2006
|
|
Karsten Hopp |
485eb4 |
***************
|
|
Karsten Hopp |
485eb4 |
*** 183,188 ****
|
|
Karsten Hopp |
485eb4 |
--- 183,191 ----
|
|
Karsten Hopp |
485eb4 |
/* Define if you have the ANSI C header files. */
|
|
Karsten Hopp |
485eb4 |
/* #undef STDC_HEADERS */
|
|
Karsten Hopp |
485eb4 |
|
|
Karsten Hopp |
485eb4 |
+ /* added by David Sanders */
|
|
Karsten Hopp |
485eb4 |
+ #define HAVE_STDARG_H 1
|
|
Karsten Hopp |
485eb4 |
+
|
|
Karsten Hopp |
485eb4 |
/* instead, we check a few STDC things ourselves */
|
|
Karsten Hopp |
485eb4 |
#define HAVE_STDLIB_H 1
|
|
Karsten Hopp |
485eb4 |
#undef HAVE_STRING_H /* On EMX it is better to use strings.h */
|
|
Karsten Hopp |
485eb4 |
*** ../vim-7.0.027/src/version.c Thu Jun 22 19:34:23 2006
|
|
Karsten Hopp |
485eb4 |
--- src/version.c Thu Jun 22 19:41:06 2006
|
|
Karsten Hopp |
485eb4 |
***************
|
|
Karsten Hopp |
485eb4 |
*** 668,669 ****
|
|
Karsten Hopp |
485eb4 |
--- 668,671 ----
|
|
Karsten Hopp |
485eb4 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
485eb4 |
+ /**/
|
|
Karsten Hopp |
485eb4 |
+ 28,
|
|
Karsten Hopp |
485eb4 |
/**/
|
|
Karsten Hopp |
485eb4 |
|
|
Karsten Hopp |
485eb4 |
--
|
|
Karsten Hopp |
485eb4 |
BRIDGEKEEPER: What is the air-speed velocity of an unladen swallow?
|
|
Karsten Hopp |
485eb4 |
ARTHUR: What do you mean? An African or European swallow?
|
|
Karsten Hopp |
485eb4 |
BRIDGEKEEPER: Er ... I don't know that ... Aaaaarrrrrrggghhh!
|
|
Karsten Hopp |
485eb4 |
BRIDGEKEEPER is cast into the gorge.
|
|
Karsten Hopp |
485eb4 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
485eb4 |
|
|
Karsten Hopp |
485eb4 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
485eb4 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
485eb4 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
485eb4 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|