mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -04:00
updated for version 7.0-127
This commit is contained in:
parent
f3442e7274
commit
31e97bf0ee
@ -1633,6 +1633,7 @@ swapfile_info(fname)
|
|||||||
int fd;
|
int fd;
|
||||||
struct block0 b0;
|
struct block0 b0;
|
||||||
time_t x = (time_t)0;
|
time_t x = (time_t)0;
|
||||||
|
char *p;
|
||||||
#ifdef UNIX
|
#ifdef UNIX
|
||||||
char_u uname[B0_UNAME_SIZE];
|
char_u uname[B0_UNAME_SIZE];
|
||||||
#endif
|
#endif
|
||||||
@ -1652,8 +1653,11 @@ swapfile_info(fname)
|
|||||||
#endif
|
#endif
|
||||||
MSG_PUTS(_(" dated: "));
|
MSG_PUTS(_(" dated: "));
|
||||||
x = st.st_mtime; /* Manx C can't do &st.st_mtime */
|
x = st.st_mtime; /* Manx C can't do &st.st_mtime */
|
||||||
MSG_PUTS(ctime(&x)); /* includes '\n' */
|
p = ctime(&x); /* includes '\n' */
|
||||||
|
if (p == NULL)
|
||||||
|
MSG_PUTS("(invalid)\n");
|
||||||
|
else
|
||||||
|
MSG_PUTS(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -3652,6 +3656,7 @@ attention_message(buf, fname)
|
|||||||
{
|
{
|
||||||
struct stat st;
|
struct stat st;
|
||||||
time_t x, sx;
|
time_t x, sx;
|
||||||
|
char *p;
|
||||||
|
|
||||||
++no_wait_return;
|
++no_wait_return;
|
||||||
(void)EMSG(_("E325: ATTENTION"));
|
(void)EMSG(_("E325: ATTENTION"));
|
||||||
@ -3666,7 +3671,11 @@ attention_message(buf, fname)
|
|||||||
{
|
{
|
||||||
MSG_PUTS(_(" dated: "));
|
MSG_PUTS(_(" dated: "));
|
||||||
x = st.st_mtime; /* Manx C can't do &st.st_mtime */
|
x = st.st_mtime; /* Manx C can't do &st.st_mtime */
|
||||||
MSG_PUTS(ctime(&x));
|
p = ctime(&x); /* includes '\n' */
|
||||||
|
if (p == NULL)
|
||||||
|
MSG_PUTS("(invalid)\n");
|
||||||
|
else
|
||||||
|
MSG_PUTS(p);
|
||||||
if (sx != 0 && x > sx)
|
if (sx != 0 && x > sx)
|
||||||
MSG_PUTS(_(" NEWER than swap file!\n"));
|
MSG_PUTS(_(" NEWER than swap file!\n"));
|
||||||
}
|
}
|
||||||
|
@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
127,
|
||||||
/**/
|
/**/
|
||||||
126,
|
126,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user