]> git.pld-linux.org Git - packages/poldek.git/blame - poldek-notzdata.patch
- release 14 (by relup.sh)
[packages/poldek.git] / poldek-notzdata.patch
CommitLineData
5640a3bd
AM
1--- poldek-0.32.2/vfile/vfff/ftp.c~ 2016-01-30 14:05:57.000000000 +0000
2+++ poldek-0.32.2/vfile/vfff/ftp.c 2019-10-02 08:50:20.832444438 +0000
3@@ -654,6 +654,9 @@
4 tm.tm_year -= 1900;
5 tm.tm_mon -= 1;
6 ts = mktime(&tm);
7+ /* We can't do much if time can't be represented */
8+ if (ts < 0)
9+ return 0;
10 }
11 return ts;
12 }
This page took 0.056857 seconds and 4 git commands to generate.