|
Karsten Hopp |
a3d525 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
a3d525 |
Subject: patch 7.1.021
|
|
Karsten Hopp |
a3d525 |
Fcc: outbox
|
|
Karsten Hopp |
a3d525 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
a3d525 |
Mime-Version: 1.0
|
|
Karsten Hopp |
a3d525 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
a3d525 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
a3d525 |
------------
|
|
Karsten Hopp |
a3d525 |
|
|
Karsten Hopp |
a3d525 |
Patch 7.1.021 (after 7.1.015)
|
|
Karsten Hopp |
a3d525 |
Problem: Mzscheme interface doesn't compile on Win32.
|
|
Karsten Hopp |
a3d525 |
Solution: Fix the problem that 7.1.015 fixed in a better way. (Sergey Khorev)
|
|
Karsten Hopp |
a3d525 |
Files: src/if_mzsch.c
|
|
Karsten Hopp |
a3d525 |
|
|
Karsten Hopp |
a3d525 |
|
|
Karsten Hopp |
a3d525 |
*** ../vim-7.1.020/src/if_mzsch.c Thu Jun 28 13:02:22 2007
|
|
Karsten Hopp |
a3d525 |
--- src/if_mzsch.c Sun Jul 1 18:44:49 2007
|
|
Karsten Hopp |
a3d525 |
***************
|
|
Karsten Hopp |
a3d525 |
*** 308,313 ****
|
|
Karsten Hopp |
a3d525 |
--- 308,315 ----
|
|
Karsten Hopp |
a3d525 |
static Scheme_Config *(*dll_scheme_current_config)(void);
|
|
Karsten Hopp |
a3d525 |
static Scheme_Object *(*dll_scheme_char_string_to_byte_string)
|
|
Karsten Hopp |
a3d525 |
(Scheme_Object *s);
|
|
Karsten Hopp |
a3d525 |
+ static Scheme_Object *(*dll_scheme_char_string_to_path)
|
|
Karsten Hopp |
a3d525 |
+ (Scheme_Object *s);
|
|
Karsten Hopp |
a3d525 |
# endif
|
|
Karsten Hopp |
a3d525 |
|
|
Karsten Hopp |
a3d525 |
/* arrays are imported directly */
|
|
Karsten Hopp |
a3d525 |
***************
|
|
Karsten Hopp |
a3d525 |
*** 398,403 ****
|
|
Karsten Hopp |
a3d525 |
--- 400,407 ----
|
|
Karsten Hopp |
a3d525 |
# define scheme_current_config dll_scheme_current_config
|
|
Karsten Hopp |
a3d525 |
# define scheme_char_string_to_byte_string \
|
|
Karsten Hopp |
a3d525 |
dll_scheme_char_string_to_byte_string
|
|
Karsten Hopp |
a3d525 |
+ # define scheme_char_string_to_path \
|
|
Karsten Hopp |
a3d525 |
+ dll_scheme_char_string_to_path
|
|
Karsten Hopp |
a3d525 |
# endif
|
|
Karsten Hopp |
a3d525 |
|
|
Karsten Hopp |
a3d525 |
typedef struct
|
|
Karsten Hopp |
a3d525 |
***************
|
|
Karsten Hopp |
a3d525 |
*** 498,503 ****
|
|
Karsten Hopp |
a3d525 |
--- 502,509 ----
|
|
Karsten Hopp |
a3d525 |
{"scheme_current_config", (void **)&dll_scheme_current_config},
|
|
Karsten Hopp |
a3d525 |
{"scheme_char_string_to_byte_string",
|
|
Karsten Hopp |
a3d525 |
(void **)&dll_scheme_char_string_to_byte_string},
|
|
Karsten Hopp |
a3d525 |
+ {"scheme_char_string_to_path",
|
|
Karsten Hopp |
a3d525 |
+ (void **)&dll_scheme_char_string_to_path},
|
|
Karsten Hopp |
a3d525 |
# endif
|
|
Karsten Hopp |
a3d525 |
{NULL, NULL}};
|
|
Karsten Hopp |
a3d525 |
|
|
Karsten Hopp |
a3d525 |
***************
|
|
Karsten Hopp |
a3d525 |
*** 773,779 ****
|
|
Karsten Hopp |
a3d525 |
#ifdef MZSCHEME_COLLECTS
|
|
Karsten Hopp |
a3d525 |
/* setup 'current-library-collection-paths' parameter */
|
|
Karsten Hopp |
a3d525 |
scheme_set_param(scheme_config, MZCONFIG_COLLECTION_PATHS,
|
|
Karsten Hopp |
a3d525 |
! scheme_build_list(0, scheme_make_string(MZSCHEME_COLLECTS)));
|
|
Karsten Hopp |
a3d525 |
#endif
|
|
Karsten Hopp |
a3d525 |
#ifdef HAVE_SANDBOX
|
|
Karsten Hopp |
a3d525 |
/* setup sandbox guards */
|
|
Karsten Hopp |
a3d525 |
--- 779,793 ----
|
|
Karsten Hopp |
a3d525 |
#ifdef MZSCHEME_COLLECTS
|
|
Karsten Hopp |
a3d525 |
/* setup 'current-library-collection-paths' parameter */
|
|
Karsten Hopp |
a3d525 |
scheme_set_param(scheme_config, MZCONFIG_COLLECTION_PATHS,
|
|
Karsten Hopp |
a3d525 |
! scheme_make_pair(
|
|
Karsten Hopp |
a3d525 |
! # if MZSCHEME_VERSION_MAJOR >= 299
|
|
Karsten Hopp |
a3d525 |
! scheme_char_string_to_path(
|
|
Karsten Hopp |
a3d525 |
! scheme_byte_string_to_char_string(
|
|
Karsten Hopp |
a3d525 |
! scheme_make_byte_string(MZSCHEME_COLLECTS))),
|
|
Karsten Hopp |
a3d525 |
! # else
|
|
Karsten Hopp |
a3d525 |
! scheme_make_string(MZSCHEME_COLLECTS),
|
|
Karsten Hopp |
a3d525 |
! # endif
|
|
Karsten Hopp |
a3d525 |
! scheme_null));
|
|
Karsten Hopp |
a3d525 |
#endif
|
|
Karsten Hopp |
a3d525 |
#ifdef HAVE_SANDBOX
|
|
Karsten Hopp |
a3d525 |
/* setup sandbox guards */
|
|
Karsten Hopp |
a3d525 |
*** ../vim-7.1.020/src/version.c Thu Jul 5 10:10:29 2007
|
|
Karsten Hopp |
a3d525 |
--- src/version.c Fri Jul 6 19:41:04 2007
|
|
Karsten Hopp |
a3d525 |
***************
|
|
Karsten Hopp |
a3d525 |
*** 668,669 ****
|
|
Karsten Hopp |
a3d525 |
--- 668,671 ----
|
|
Karsten Hopp |
a3d525 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
a3d525 |
+ /**/
|
|
Karsten Hopp |
a3d525 |
+ 21,
|
|
Karsten Hopp |
a3d525 |
/**/
|
|
Karsten Hopp |
a3d525 |
|
|
Karsten Hopp |
a3d525 |
--
|
|
Karsten Hopp |
a3d525 |
Advice to worms: Sleep late.
|
|
Karsten Hopp |
a3d525 |
|
|
Karsten Hopp |
a3d525 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
a3d525 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
a3d525 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
a3d525 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|