Blame


1 35d04818 2023-09-15 stsp --- test126.left.txt
2 35d04818 2023-09-15 stsp +++ test126.right.txt
3 35d04818 2023-09-15 stsp @@ -1,4 +1,4 @@
4 35d04818 2023-09-15 stsp -/* $OpenBSD: a_time_tm.c,v 1.15 2018/04/25 11:48:21 tb Exp $ */
5 35d04818 2023-09-15 stsp +/* $OpenBSD: a_time_tm.c,v 1.16 2020/12/16 18:35:59 tb Exp $ */
6 35d04818 2023-09-15 stsp /*
7 35d04818 2023-09-15 stsp * Copyright (c) 2015 Bob Beck <beck@openbsd.org>
8 35d04818 2023-09-15 stsp *
9 35d04818 2023-09-15 stsp @@ -108,10 +108,9 @@
10 35d04818 2023-09-15 stsp return (-1);
11 35d04818 2023-09-15 stsp
12 35d04818 2023-09-15 stsp lt = tm;
13 35d04818 2023-09-15 stsp - if (lt == NULL) {
14 35d04818 2023-09-15 stsp - memset(&ltm, 0, sizeof(ltm));
15 35d04818 2023-09-15 stsp + if (lt == NULL)
16 35d04818 2023-09-15 stsp lt = &ltm;
17 35d04818 2023-09-15 stsp - }
18 35d04818 2023-09-15 stsp + memset(lt, 0, sizeof(*lt));
19 35d04818 2023-09-15 stsp
20 35d04818 2023-09-15 stsp /* Timezone is required and must be GMT (Zulu). */
21 35d04818 2023-09-15 stsp if (bytes[len - 1] != 'Z')
22 35d04818 2023-09-15 stsp @@ -168,4 +167,4 @@
23 35d04818 2023-09-15 stsp }
24 35d04818 2023-09-15 stsp
25 35d04818 2023-09-15 stsp return (type);
26 35d04818 2023-09-15 stsp -}
27 35d04818 2023-09-15 stsp +}
28 35d04818 2023-09-15 stsp \ No newline at end of file