components/vim/vim72-patches/7.2.339
changeset 379 c6a17bba1da3
parent 378 f0b61ed1d10d
child 380 e92b3b4a1c66
equal deleted inserted replaced
378:f0b61ed1d10d 379:c6a17bba1da3
     1 To: [email protected]
       
     2 Subject: Patch 7.2.339
       
     3 Fcc: outbox
       
     4 From: Bram Moolenaar <[email protected]>
       
     5 Mime-Version: 1.0
       
     6 Content-Type: text/plain; charset=UTF-8
       
     7 Content-Transfer-Encoding: 8bit
       
     8 ------------
       
     9 
       
    10 Patch 7.2.339 (after 7.2.269)
       
    11 Problem:    Part of --startuptime patch is missing.
       
    12 Solution:   Add check for time_fd.
       
    13 Files:	    src/ex_cmds2.c
       
    14 
       
    15 
       
    16 *** ../vim-7.2.338/src/ex_cmds2.c	2010-01-19 16:21:55.000000000 +0100
       
    17 --- src/ex_cmds2.c	2010-01-19 16:02:53.000000000 +0100
       
    18 ***************
       
    19 *** 3036,3042 ****
       
    20   #endif
       
    21   
       
    22   #ifdef STARTUPTIME
       
    23 !     time_push(&tv_rel, &tv_start);
       
    24   #endif
       
    25   
       
    26   #ifdef FEAT_EVAL
       
    27 --- 3036,3043 ----
       
    28   #endif
       
    29   
       
    30   #ifdef STARTUPTIME
       
    31 !     if (time_fd != NULL)
       
    32 ! 	time_push(&tv_rel, &tv_start);
       
    33   #endif
       
    34   
       
    35   #ifdef FEAT_EVAL
       
    36 ***************
       
    37 *** 3162,3170 ****
       
    38   	verbose_leave();
       
    39       }
       
    40   #ifdef STARTUPTIME
       
    41 !     vim_snprintf((char *)IObuff, IOSIZE, "sourcing %s", fname);
       
    42 !     time_msg((char *)IObuff, &tv_start);
       
    43 !     time_pop(&tv_rel);
       
    44   #endif
       
    45   
       
    46   #ifdef FEAT_EVAL
       
    47 --- 3163,3174 ----
       
    48   	verbose_leave();
       
    49       }
       
    50   #ifdef STARTUPTIME
       
    51 !     if (time_fd != NULL)
       
    52 !     {
       
    53 ! 	vim_snprintf((char *)IObuff, IOSIZE, "sourcing %s", fname);
       
    54 ! 	time_msg((char *)IObuff, &tv_start);
       
    55 ! 	time_pop(&tv_rel);
       
    56 !     }
       
    57   #endif
       
    58   
       
    59   #ifdef FEAT_EVAL
       
    60 *** ../vim-7.2.338/src/version.c	2010-01-19 16:21:55.000000000 +0100
       
    61 --- src/version.c	2010-01-19 16:25:39.000000000 +0100
       
    62 ***************
       
    63 *** 683,684 ****
       
    64 --- 683,686 ----
       
    65   {   /* Add new patch number below this line */
       
    66 + /**/
       
    67 +     339,
       
    68   /**/
       
    69 
       
    70 -- 
       
    71 hundred-and-one symptoms of being an internet addict:
       
    72 122. You ask if the Netaholics Anonymous t-shirt you ordered can be
       
    73      sent to you via e-mail.
       
    74 
       
    75  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
       
    76 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
       
    77 \\\        download, build and distribute -- http://www.A-A-P.org        ///
       
    78  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///