Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/tests/lib/libutil Pull up following revision(s) (requeste...
details: https://anonhg.NetBSD.org/src/rev/4d072d2917d0
branches: netbsd-7
changeset: 798419:4d072d2917d0
user: snj <snj%NetBSD.org@localhost>
date: Sat Oct 11 16:55:32 2014 +0000
description:
Pull up following revision(s) (requested by apb in ticket #135):
tests/lib/libutil/t_parsedate.c: revision 1.13
2013-07-09 was in British Summer TIme, so use tzoff=-60, not 0.
diffstat:
tests/lib/libutil/t_parsedate.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 69f9ad617838 -r 4d072d2917d0 tests/lib/libutil/t_parsedate.c
--- a/tests/lib/libutil/t_parsedate.c Sat Oct 11 16:52:56 2014 +0000
+++ b/tests/lib/libutil/t_parsedate.c Sat Oct 11 16:55:32 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_parsedate.c,v 1.7.8.5 2014/10/11 16:52:56 snj Exp $ */
+/* $NetBSD: t_parsedate.c,v 1.7.8.6 2014/10/11 16:55:32 snj Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_parsedate.c,v 1.7.8.5 2014/10/11 16:52:56 snj Exp $");
+__RCSID("$NetBSD: t_parsedate.c,v 1.7.8.6 2014/10/11 16:55:32 snj Exp $");
#include <atf-c.h>
#include <errno.h>
@@ -207,7 +207,7 @@
ATF_CHECK(t != (time_t)-1);
parsecheck("14:00", &t, NULL, localtime_r,
2013, 7, 9, 14, 0, 0);
- tzoff = 0;
+ tzoff = -60; /* British Summer Time */
parsecheck("14:00", &t, &tzoff, localtime_r,
2013, 7, 9, 14, 0, 0);
}
Home |
Main Index |
Thread Index |
Old Index