Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/lib/libc/time Pull up revision 1.23 (requested by klein...
details: https://anonhg.NetBSD.org/src/rev/c70f332657dd
branches: netbsd-2-0
changeset: 561384:c70f332657dd
user: he <he%NetBSD.org@localhost>
date: Tue Jun 15 22:02:14 2004 +0000
description:
Pull up revision 1.23 (requested by kleink in ticket #407):
Update to tzcode2004a.
diffstat:
lib/libc/time/zic.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (31 lines):
diff -r 98ff28f31f1a -r c70f332657dd lib/libc/time/zic.c
--- a/lib/libc/time/zic.c Tue Jun 15 22:02:07 2004 +0000
+++ b/lib/libc/time/zic.c Tue Jun 15 22:02:14 2004 +0000
@@ -1,13 +1,13 @@
-/* $NetBSD: zic.c,v 1.22 2003/12/20 00:21:00 kleink Exp $ */
+/* $NetBSD: zic.c,v 1.22.2.1 2004/06/15 22:02:14 he Exp $ */
#include <sys/cdefs.h>
#ifndef lint
#ifndef NOID
-__RCSID("$NetBSD: zic.c,v 1.22 2003/12/20 00:21:00 kleink Exp $");
+__RCSID("$NetBSD: zic.c,v 1.22.2.1 2004/06/15 22:02:14 he Exp $");
#endif /* !defined NOID */
#endif /* !defined lint */
-static char elsieid[] = "@(#)zic.c 7.115";
+static char elsieid[] = "@(#)zic.c 7.116";
#include "private.h"
#include "locale.h"
@@ -2158,8 +2158,8 @@
--i;
}
if (i < 0 || i >= len_months[isleap(y)][m]) {
- error(_("no day in month matches rule"));
- (void) exit(EXIT_FAILURE);
+ if (noise)
+ warning(_("rule goes past start/end of month--will not work with pre-2004 versions of zic"));
}
}
if (dayoff < 0 && !TYPE_SIGNED(time_t))
Home |
Main Index |
Thread Index |
Old Index