]> git.pld-linux.org Git - packages/vim.git/blob - 7.0.026
- updated to 0.7.3
[packages/vim.git] / 7.0.026
1 To: vim-dev@vim.org
2 Subject: Patch 7.0.026
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.0.026
11 Problem:    Using libcall() may show an old error.
12 Solution:   Invoke dlerror() to clear a previous error. (Yukihiro Nakadaira)
13 Files:      src/os_unix.c
14
15
16 *** ../vim-7.0.025/src/os_unix.c        Wed May  3 00:01:30 2006
17 --- src/os_unix.c       Sat Jun 17 21:00:14 2006
18 ***************
19 *** 5757,5764 ****
20       int               retval_int = 0;
21       int               success = FALSE;
22   
23 !     /* Get a handle to the DLL module. */
24   # if defined(USE_DLOPEN)
25       hinstLib = dlopen((char *)libname, RTLD_LAZY
26   #  ifdef RTLD_LOCAL
27             | RTLD_LOCAL
28 --- 5758,5770 ----
29       int               retval_int = 0;
30       int               success = FALSE;
31   
32 !     /*
33 !      * Get a handle to the DLL module.
34 !      */
35   # if defined(USE_DLOPEN)
36 +     /* First clear any error, it's not cleared by the dlopen() call. */
37 +     (void)dlerror();
38
39       hinstLib = dlopen((char *)libname, RTLD_LAZY
40   #  ifdef RTLD_LOCAL
41             | RTLD_LOCAL
42 *** ../vim-7.0.025/src/version.c        Thu Jun 22 18:02:06 2006
43 --- src/version.c       Thu Jun 22 18:05:10 2006
44 ***************
45 *** 668,669 ****
46 --- 668,671 ----
47   {   /* Add new patch number below this line */
48 + /**/
49 +     26,
50   /**/
51
52 -- 
53 BRIDGEKEEPER: What is your favorite editor?
54 GAWAIN:       Emacs ...  No, Viiiiiiiiiiimmmmmmm!
55            "Monty Python and the Holy editor wars" PYTHON (MONTY) SOFTWARE LTD
56
57  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
58 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
59 \\\        download, build and distribute -- http://www.A-A-P.org        ///
60  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.025976 seconds and 3 git commands to generate.