summaryrefslogtreecommitdiffstats
path: root/source/ap/vim/patches/7.3.107
blob: 1256b81792028ec7245854e7fe0e8c66f3c87087 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
To: vim_dev@googlegroups.com
Subject: Patch 7.3.107
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.3.107
Problem:    Year number for :undolist can be confused with month or day.
Solution:   Change "%y" to "%Y".
Files:      src/undo.c


*** ../vim-7.3.106/src/undo.c	2011-01-22 00:11:42.000000000 +0100
--- src/undo.c	2011-01-22 00:03:58.000000000 +0100
***************
*** 2884,2890 ****
  	    (void)strftime((char *)buf, buflen, "%m/%d %H:%M:%S", curtime);
  	else
  	    /* long ago */
! 	    (void)strftime((char *)buf, buflen, "%y/%m/%d %H:%M:%S", curtime);
      }
      else
  #endif
--- 2884,2890 ----
  	    (void)strftime((char *)buf, buflen, "%m/%d %H:%M:%S", curtime);
  	else
  	    /* long ago */
! 	    (void)strftime((char *)buf, buflen, "%Y/%m/%d %H:%M:%S", curtime);
      }
      else
  #endif
*** ../vim-7.3.106/src/version.c	2011-01-22 21:05:02.000000000 +0100
--- src/version.c	2011-01-22 21:24:07.000000000 +0100
***************
*** 716,717 ****
--- 716,719 ----
  {   /* Add new patch number below this line */
+ /**/
+     107,
  /**/

-- 
"The sun oozed over the horizon, shoved aside darkness, crept along the
greensward, and, with sickly fingers, pushed through the castle window,
revealing the pillaged princess, hand at throat, crown asunder, gaping
in frenzied horror at the sated, sodden amphibian lying beside her,
disbelieving the magnitude of the frog's deception, screaming madly,
"You lied!"
    - Winner of the Bulwer-Lytton contest (San Jose State University),
      wherein one writes only the first line of a bad novel

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///