Problem: Part of --startuptime patch is missing.
Solution: Add check for time_fd.
#endif
#ifdef STARTUPTIME
- time_push(&tv_rel, &tv_start);
+ if (time_fd != NULL)
+ time_push(&tv_rel, &tv_start);
#endif
#ifdef FEAT_EVAL
verbose_leave();
}
#ifdef STARTUPTIME
- vim_snprintf((char *)IObuff, IOSIZE, "sourcing %s", fname);
- time_msg((char *)IObuff, &tv_start);
- time_pop(&tv_rel);
+ if (time_fd != NULL)
+ {
+ vim_snprintf((char *)IObuff, IOSIZE, "sourcing %s", fname);
+ time_msg((char *)IObuff, &tv_start);
+ time_pop(&tv_rel);
+ }
#endif
#ifdef FEAT_EVAL
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 339,
/**/
338,
/**/