Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 95366 invoked from network); 29 Aug 2009 17:30:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Aug 2009 17:30:13 -0000 Received: (qmail 89746 invoked by uid 500); 29 Aug 2009 17:30:13 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 89649 invoked by uid 500); 29 Aug 2009 17:30:12 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 89640 invoked by uid 99); 29 Aug 2009 17:30:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Aug 2009 17:30:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Aug 2009 17:30:10 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 15BF823888E5; Sat, 29 Aug 2009 17:29:49 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r809167 - /commons/sandbox/runtime/trunk/src/main/native/os/win32/time.c Date: Sat, 29 Aug 2009 17:29:49 -0000 To: commits@commons.apache.org From: mturk@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090829172949.15BF823888E5@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mturk Date: Sat Aug 29 17:29:48 2009 New Revision: 809167 URL: http://svn.apache.org/viewvc?rev=809167&view=rev Log: Fix messy svn commits Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/time.c Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/time.c URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/time.c?rev=809167&r1=809166&r2=809167&view=diff ============================================================================== --- commons/sandbox/runtime/trunk/src/main/native/os/win32/time.c (original) +++ commons/sandbox/runtime/trunk/src/main/native/os/win32/time.c Sat Aug 29 17:29:48 2009 @@ -58,8 +58,8 @@ WORD dt; /* Round up to two seconds */ - t = ACR_ALIGN((t / ACR_USEC_PER_SEC), 2); - UsecTimeToFileTime(&ft, t * ACR_USEC_PER_SEC); + t = ACR_ALIGN((t / ACR_USEC_PER_SEC), 2) * ACR_USEC_PER_SEC); + UsecTimeToFileTime(&ft, t); if (FileTimeToDosDateTime(&ft, &dd, &dt)) return ((acr_uint32_t)dd << 16) | (acr_uint32_t)dt; else {