You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/08/29 19:22:20 UTC

svn commit: r809165 - /commons/sandbox/runtime/trunk/src/main/native/os/win32/time.c

Author: mturk
Date: Sat Aug 29 17:22:20 2009
New Revision: 809165

URL: http://svn.apache.org/viewvc?rev=809165&view=rev
Log:
Add 24 hours to max dos date

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=809165&r1=809164&r2=809165&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:22:20 2009
@@ -63,7 +63,7 @@
     if (FileTimeToDosDateTime(&ft, &dd, &dt))
         return ((acr_uint32_t)dd << 16) | (acr_uint32_t)dt;
     else {
-        if (t > ACR_INT64_C(4354732800000000))
+        if (t > ACR_INT64_C(4354819198000000))
             return 0xFF9FBF7D;
         else
             return 0x00210000;