From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25215 invoked by alias); 27 Oct 2004 22:00:50 -0000 Mailing-List: contact glibc-bugs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sources.redhat.com Received: (qmail 25198 invoked by uid 48); 27 Oct 2004 22:00:49 -0000 Date: Wed, 27 Oct 2004 22:00:00 -0000 From: "eggert at gnu dot org" To: glibc-bugs@sources.redhat.com Message-ID: <20041027220049.487.eggert@gnu.org> Reply-To: sourceware-bugzilla@sources.redhat.com Subject: [Bug libc/487] New: redundant check in mktime.c TEST code X-Bugzilla-Reason: CC X-SW-Source: 2004-10/txt/msg00142.txt.bz2 List-Id: Here's a patch to a minor inefficiency in mktime.c's test code. 2004-10-27 Derek R. Price This change is imported from gnulib. * lib/mktime.c (not_equal_tm) [DEBUG]: Remove redundant check. --- time/mktime.c 2004-10-24 16:23:08 -0700 +++ /tmp/mktime.c 2004-10-27 14:56:59 -0700 @@ -409,7 +409,6 @@ not_equal_tm (const struct tm *a, const | (a->tm_mday ^ b->tm_mday) | (a->tm_mon ^ b->tm_mon) | (a->tm_year ^ b->tm_year) - | (a->tm_mday ^ b->tm_mday) | (a->tm_yday ^ b->tm_yday) | (a->tm_isdst ^ b->tm_isdst)); } -- Summary: redundant check in mktime.c TEST code Product: glibc Version: 2.3.3 Status: NEW Severity: minor Priority: P3 Component: libc AssignedTo: gotom at debian dot or dot jp ReportedBy: eggert at gnu dot org CC: glibc-bugs at sources dot redhat dot com http://sources.redhat.com/bugzilla/show_bug.cgi?id=487 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.