Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/time Back errant change due to botched merge.



details:   https://anonhg.NetBSD.org/src/rev/ffc00b2785bc
branches:  trunk
changeset: 750048:ffc00b2785bc
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Dec 14 20:45:02 2009 +0000

description:
Back errant change due to botched merge.

diffstat:

 lib/libc/time/strptime.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 09642455ecdd -r ffc00b2785bc lib/libc/time/strptime.c
--- a/lib/libc/time/strptime.c  Mon Dec 14 20:42:12 2009 +0000
+++ b/lib/libc/time/strptime.c  Mon Dec 14 20:45:02 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: strptime.c,v 1.34 2009/12/14 05:51:56 matt Exp $       */
+/*     $NetBSD: strptime.c,v 1.35 2009/12/14 20:45:02 matt Exp $       */
 
 /*-
  * Copyright (c) 1997, 1998, 2005, 2008 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: strptime.c,v 1.34 2009/12/14 05:51:56 matt Exp $");
+__RCSID("$NetBSD: strptime.c,v 1.35 2009/12/14 20:45:02 matt Exp $");
 #endif
 
 #include "namespace.h"
@@ -267,7 +267,7 @@
                                        sse *= 10;
                                        sse += *bp++ - '0';
                                        rulim /= 10;
-                               } while (((uint64_t)(sse * 10) <= TIME_MAX) &&
+                               } while ((sse * 10 <= TIME_MAX) &&
                                         rulim && *bp >= '0' && *bp <= '9');
 
                                if (sse < 0 || (uint64_t)sse > TIME_MAX) {



Home | Main Index | Thread Index | Old Index