/[pkgs]/devel/dhcp/dhcp-4.1.0-64_bit_lease_parse.patch
ViewVC logotype

Contents of /devel/dhcp/dhcp-4.1.0-64_bit_lease_parse.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Fri Jul 10 02:29:08 2009 UTC (4 months, 2 weeks ago) by dcantrel
Branch: MAIN
CVS Tags: dhcp-4_1_0p1-12_fc13, dhcp-4_1_0p1-5_fc12, dhcp-4_1_0p1-10_fc12, dhcp-4_1_0p1-3_fc12, dhcp-4_1_0-26_fc12, dhcp-4_1_0p1-9_fc12, dhcp-4_1_0-27_fc12, dhcp-4_1_0-25_fc12, dhcp-4_1_0p1-6_fc12, dhcp-4_1_0p1-7_fc12, dhcp-4_1_0p1-13_fc13, dhcp-4_1_0p1-1_fc12, dhcp-4_1_0p1-2_fc12, dhcp-4_1_0p1-14_fc13, dhcp-4_1_0p1-4_fc12, F-12-split, dhcp-4_1_0-24_fc12, dhcp-4_1_0p1-11_fc12, dhcp-4_1_0p1-8_fc12, HEAD
File MIME type: text/x-patch
* Thu Jul 09 2009 David Cantrell <dcantrell@redhat.com> - 12:4.1.0-24
- Ensure 64-bit platforms parse lease file dates & times correctly (#448615)
1 diff -up dhcp-4.1.0/common/parse.c.64-bit_lease_parse dhcp-4.1.0/common/parse.c
2 --- dhcp-4.1.0/common/parse.c.64-bit_lease_parse 2008-10-08 06:26:42.000000000 -1000
3 +++ dhcp-4.1.0/common/parse.c 2009-07-09 16:22:05.000000000 -1000
4 @@ -905,8 +905,8 @@ TIME
5 parse_date_core(cfile)
6 struct parse *cfile;
7 {
8 - int guess;
9 - int tzoff, wday, year, mon, mday, hour, min, sec;
10 + TIME guess;
11 + long int tzoff, wday, year, mon, mday, hour, min, sec;
12 const char *val;
13 enum dhcp_token token;
14 static int months [11] = { 31, 59, 90, 120, 151, 181,

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2