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/06 19:02:55 UTC
svn commit: r801727 - in /commons/sandbox/runtime/trunk/src/main/native:
include/arch/windows/acr_arch.h os/win32/time.c
Author: mturk
Date: Thu Aug 6 17:02:54 2009
New Revision: 801727
URL: http://svn.apache.org/viewvc?rev=801727&view=rev
Log:
Use APR name for private stuff. Will be easier to track the diffs from APR
Modified:
commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h
commons/sandbox/runtime/trunk/src/main/native/os/win32/time.c
Modified: commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h?rev=801727&r1=801726&r2=801727&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h (original)
+++ commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h Thu Aug 6 17:02:54 2009
@@ -300,7 +300,7 @@
#define ACR_IOH_FLAGS(H) acr_ioh_tab[(H) & acr_ioh_mask].flags
#define ACR_IOH(H) acr_ioh_tab[(H) & acr_ioh_mask].h
-static ACR_INLINE void FileTimeToAcrTime(acr_time_t *result, FILETIME *input)
+static ACR_INLINE void FileTimeToAprTime(acr_time_t *result, FILETIME *input)
{
/* Convert FILETIME one 64 bit number so we can work with it. */
*result = input->dwHighDateTime;
@@ -312,7 +312,7 @@
}
-static ACR_INLINE void AcrTimeToFileTime(LPFILETIME pft, acr_time_t t)
+static ACR_INLINE void AprTimeToFileTime(LPFILETIME pft, acr_time_t t)
{
LONGLONG ll;
t += ACR_DELTA_EPOCH_IN_USEC;
@@ -322,7 +322,6 @@
return;
}
-
/*
* ---------------------------------------------------------------------
* end of POSIX utilities
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=801727&r1=801726&r2=801727&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 Thu Aug 6 17:02:54 2009
@@ -31,7 +31,7 @@
GetSystemTime(&st);
SystemTimeToFileTime(&st, &time);
- FileTimeToAcrTime(&aprtime, &time);
+ FileTimeToAprTime(&aprtime, &time);
return aprtime;
}