]> git.pld-linux.org Git - packages/vim.git/blob - 6.3.019
- new
[packages/vim.git] / 6.3.019
1 To: vim-dev@vim.org
2 Subject: Patch 6.3.019
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 6.3.019
11 Problem:    Crash in startup for debug version. (David Rennals)
12 Solution:   Move the call to nbdebug_wait() to after allocating NameBuff.
13 Files:      src/main.c
14
15
16 *** ../vim-6.3.018/src/main.c   Wed Jun  9 14:56:25 2004
17 --- src/main.c  Mon Aug 30 13:45:45 2004
18 ***************
19 *** 150,160 ****
20       int               literal = FALSE;        /* don't expand file names */
21   #endif
22   
23 - # ifdef NBDEBUG
24 -     nbdebug_log_init("SPRO_GVIM_DEBUG", "SPRO_GVIM_DLEVEL");
25 -     nbdebug_wait(WT_ENV | WT_WAIT | WT_STOP, "SPRO_GVIM_WAIT", 20);
26 - # endif
27
28       /*
29        * Do any system-specific initialisations.  These can NOT use IObuff or
30        * NameBuff.  Thus emsg2() cannot be called!
31 --- 150,155 ----
32 ***************
33 *** 208,213 ****
34 --- 203,215 ----
35         mch_exit(0);
36   
37       TIME_MSG("Allocated generic buffers");
38
39 + #ifdef NBDEBUG
40 +     /* Wait a moment for debugging NetBeans.  Must be after allocating
41 +      * NameBuff. */
42 +     nbdebug_log_init("SPRO_GVIM_DEBUG", "SPRO_GVIM_DLEVEL");
43 +     nbdebug_wait(WT_ENV | WT_WAIT | WT_STOP, "SPRO_GVIM_WAIT", 20);
44 + #endif
45   
46   #if defined(HAVE_LOCALE_H) || defined(X_LOCALE)
47       /*
48 *** ../vim-6.3.018/src/version.c        Mon Aug 30 15:02:02 2004
49 --- src/version.c       Mon Aug 30 19:45:31 2004
50 ***************
51 *** 643,644 ****
52 --- 643,646 ----
53   {   /* Add new patch number below this line */
54 + /**/
55 +     19,
56   /**/
57
58 -- 
59 hundred-and-one symptoms of being an internet addict:
60 241. You try to look for Net Search even when you're in File Manager.
61
62  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
63 ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
64 \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
65  \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
This page took 0.033907 seconds and 3 git commands to generate.