• R/O
  • SSH

vim: コミット

Mirror of the Vim source from https://github.com/vim/vim


コミットメタ情報

リビジョン1de53700b1d9f26a420a319d9c44ba0c43950035 (tree)
日時2006-10-10 23:20:13
作者vimboss
コミッターvimboss

ログメッセージ

updated for version 7.0-127

変更サマリ

差分

diff -r cb49fa8c7196 -r 1de53700b1d9 src/memline.c
--- a/src/memline.c Tue Oct 10 13:49:10 2006 +0000
+++ b/src/memline.c Tue Oct 10 14:20:13 2006 +0000
@@ -1633,6 +1633,7 @@
16331633 int fd;
16341634 struct block0 b0;
16351635 time_t x = (time_t)0;
1636+ char *p;
16361637 #ifdef UNIX
16371638 char_u uname[B0_UNAME_SIZE];
16381639 #endif
@@ -1652,8 +1653,11 @@
16521653 #endif
16531654 MSG_PUTS(_(" dated: "));
16541655 x = st.st_mtime; /* Manx C can't do &st.st_mtime */
1655- MSG_PUTS(ctime(&x)); /* includes '\n' */
1656-
1656+ p = ctime(&x); /* includes '\n' */
1657+ if (p == NULL)
1658+ MSG_PUTS("(invalid)\n");
1659+ else
1660+ MSG_PUTS(p);
16571661 }
16581662
16591663 /*
@@ -3652,6 +3656,7 @@
36523656 {
36533657 struct stat st;
36543658 time_t x, sx;
3659+ char *p;
36553660
36563661 ++no_wait_return;
36573662 (void)EMSG(_("E325: ATTENTION"));
@@ -3666,7 +3671,11 @@
36663671 {
36673672 MSG_PUTS(_(" dated: "));
36683673 x = st.st_mtime; /* Manx C can't do &st.st_mtime */
3669- MSG_PUTS(ctime(&x));
3674+ p = ctime(&x); /* includes '\n' */
3675+ if (p == NULL)
3676+ MSG_PUTS("(invalid)\n");
3677+ else
3678+ MSG_PUTS(p);
36703679 if (sx != 0 && x > sx)
36713680 MSG_PUTS(_(" NEWER than swap file!\n"));
36723681 }
diff -r cb49fa8c7196 -r 1de53700b1d9 src/version.c
--- a/src/version.c Tue Oct 10 13:49:10 2006 +0000
+++ b/src/version.c Tue Oct 10 14:20:13 2006 +0000
@@ -667,6 +667,8 @@
667667 static int included_patches[] =
668668 { /* Add new patch number below this line */
669669 /**/
670+ 127,
671+/**/
670672 126,
671673 /**/
672674 125,
旧リポジトリブラウザで表示