Contents of /trunk/diffstat/patches/diffstat-1.45-hard-locale.patch
Parent Directory | Revision Log
Revision 524 -
(show annotations)
(download)
Mon Mar 24 02:05:33 2008 UTC (16 years, 6 months ago) by niro
File size: 578 byte(s)
Mon Mar 24 02:05:33 2008 UTC (16 years, 6 months ago) by niro
File size: 578 byte(s)
-patches for diffstat
1 | diff -Nur diffstat-1.37.orig/diffstat.c diffstat-1.37/diffstat.c |
2 | --- diffstat-1.37.orig/diffstat.c 2004-12-18 02:08:07.707933653 +0100 |
3 | +++ diffstat-1.37/diffstat.c 2004-12-18 02:10:48.519539631 +0100 |
4 | @@ -805,6 +805,12 @@ |
5 | && !contain_any(b_fname, "*") |
6 | && !edit_range(b_fname)) |
7 | + || (sscanf(buffer, |
8 | + "*** %[^\t ]\t%d-%d-%d %d:%d:%d", |
9 | + b_fname, |
10 | + &year, &month, &day, |
11 | + &hour, &minute, &second) == 7 |
12 | + && !version_num(b_fname)) |
13 | ) { |
14 | prev = that; |
15 | s = do_merging(that, b_fname); |
16 | that = new_data(s); |