]> git.pld-linux.org Git - packages/poldek.git/blame - poldek-321546.patch
- added -ls-queryfmt.patch (support for query format in ls command)
[packages/poldek.git] / poldek-321546.patch
CommitLineData
428659fe
ER
1--- poldek-0.30-cvs20080820.23/pkgu.c~ 2009-01-26 20:12:20.700457198 +0200
2+++ poldek-0.30-cvs20080820.23/pkgu.c 2009-01-26 20:12:00.937750881 +0200
3@@ -576,8 +576,9 @@
4 nbuf = n_buf_new(1024);
5 for (i=0; i < e_name.cnt; i++) {
6 char ts[32];
7+ time_t t = times[i];
8
9- strftime(ts, sizeof(ts), "%Y-%m-%d %H:%M:%S", gmtime((time_t*)&times[i]));
10+ strftime(ts, sizeof(ts), "%Y-%m-%d %H:%M:%S", gmtime((time_t*)&t));
11
12 n_buf_printf(nbuf, "* %s %s\n", ts, names[i]);
13 n_buf_printf(nbuf, "%s\n\n", texts[i]);
This page took 0.125663 seconds and 4 git commands to generate.