|
Karsten Hopp |
0bb172 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
0bb172 |
Subject: Patch 7.0.026
|
|
Karsten Hopp |
0bb172 |
Fcc: outbox
|
|
Karsten Hopp |
0bb172 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
0bb172 |
Mime-Version: 1.0
|
|
Karsten Hopp |
0bb172 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
0bb172 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
0bb172 |
------------
|
|
Karsten Hopp |
0bb172 |
|
|
Karsten Hopp |
0bb172 |
Patch 7.0.026
|
|
Karsten Hopp |
0bb172 |
Problem: Using libcall() may show an old error.
|
|
Karsten Hopp |
0bb172 |
Solution: Invoke dlerror() to clear a previous error. (Yukihiro Nakadaira)
|
|
Karsten Hopp |
0bb172 |
Files: src/os_unix.c
|
|
Karsten Hopp |
0bb172 |
|
|
Karsten Hopp |
0bb172 |
|
|
Karsten Hopp |
0bb172 |
*** ../vim-7.0.025/src/os_unix.c Wed May 3 00:01:30 2006
|
|
Karsten Hopp |
0bb172 |
--- src/os_unix.c Sat Jun 17 21:00:14 2006
|
|
Karsten Hopp |
0bb172 |
***************
|
|
Karsten Hopp |
0bb172 |
*** 5757,5764 ****
|
|
Karsten Hopp |
0bb172 |
int retval_int = 0;
|
|
Karsten Hopp |
0bb172 |
int success = FALSE;
|
|
Karsten Hopp |
0bb172 |
|
|
Karsten Hopp |
0bb172 |
! /* Get a handle to the DLL module. */
|
|
Karsten Hopp |
0bb172 |
# if defined(USE_DLOPEN)
|
|
Karsten Hopp |
0bb172 |
hinstLib = dlopen((char *)libname, RTLD_LAZY
|
|
Karsten Hopp |
0bb172 |
# ifdef RTLD_LOCAL
|
|
Karsten Hopp |
0bb172 |
| RTLD_LOCAL
|
|
Karsten Hopp |
0bb172 |
--- 5758,5770 ----
|
|
Karsten Hopp |
0bb172 |
int retval_int = 0;
|
|
Karsten Hopp |
0bb172 |
int success = FALSE;
|
|
Karsten Hopp |
0bb172 |
|
|
Karsten Hopp |
0bb172 |
! /*
|
|
Karsten Hopp |
0bb172 |
! * Get a handle to the DLL module.
|
|
Karsten Hopp |
0bb172 |
! */
|
|
Karsten Hopp |
0bb172 |
# if defined(USE_DLOPEN)
|
|
Karsten Hopp |
0bb172 |
+ /* First clear any error, it's not cleared by the dlopen() call. */
|
|
Karsten Hopp |
0bb172 |
+ (void)dlerror();
|
|
Karsten Hopp |
0bb172 |
+
|
|
Karsten Hopp |
0bb172 |
hinstLib = dlopen((char *)libname, RTLD_LAZY
|
|
Karsten Hopp |
0bb172 |
# ifdef RTLD_LOCAL
|
|
Karsten Hopp |
0bb172 |
| RTLD_LOCAL
|
|
Karsten Hopp |
0bb172 |
*** ../vim-7.0.025/src/version.c Thu Jun 22 18:02:06 2006
|
|
Karsten Hopp |
0bb172 |
--- src/version.c Thu Jun 22 18:05:10 2006
|
|
Karsten Hopp |
0bb172 |
***************
|
|
Karsten Hopp |
0bb172 |
*** 668,669 ****
|
|
Karsten Hopp |
0bb172 |
--- 668,671 ----
|
|
Karsten Hopp |
0bb172 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
0bb172 |
+ /**/
|
|
Karsten Hopp |
0bb172 |
+ 26,
|
|
Karsten Hopp |
0bb172 |
/**/
|
|
Karsten Hopp |
0bb172 |
|
|
Karsten Hopp |
0bb172 |
--
|
|
Karsten Hopp |
0bb172 |
BRIDGEKEEPER: What is your favorite editor?
|
|
Karsten Hopp |
0bb172 |
GAWAIN: Emacs ... No, Viiiiiiiiiiimmmmmmm!
|
|
Karsten Hopp |
0bb172 |
"Monty Python and the Holy editor wars" PYTHON (MONTY) SOFTWARE LTD
|
|
Karsten Hopp |
0bb172 |
|
|
Karsten Hopp |
0bb172 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
0bb172 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
0bb172 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
0bb172 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|