summaryrefslogtreecommitdiff
path: root/ACE/tests/Logging_Strategy_Test.cpp
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2011-07-19 20:17:09 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2011-07-19 20:17:09 +0000
commit80012f8bf8032f0c28e4e5ca02d4672370a25137 (patch)
treeea06d543ffc8e066ccfbaf96a8be8a7ca0e6461a /ACE/tests/Logging_Strategy_Test.cpp
parent10d279d3172a275f5f53fb18d4a0945f589a7224 (diff)
downloadATCD-saic_android.tar.gz
Tue Jul 19 20:15:51 UTC 2011 William R. Otte <wotte@dre.vanderbilt.edu>saic_android
* ace/config-android.h: * examples/APG/ThreadManagement/Async_Cancel.cpp: * examples/Service_Configurator/IPC-tests/client/local_dgram_client_test.cpp: * examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.inl: * examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.inl: * examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp: * examples/System_V_IPC/SV_Message_Queues/TMQ_Client.cpp: * include/makeinclude/platform_android.GNU: * tests/Logging_Strategy_Test.cpp: * tests/Thread_Attrs_Test.cpp: Various android fixes.
Diffstat (limited to 'ACE/tests/Logging_Strategy_Test.cpp')
-rw-r--r--ACE/tests/Logging_Strategy_Test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ACE/tests/Logging_Strategy_Test.cpp b/ACE/tests/Logging_Strategy_Test.cpp
index 6b3c6a8394d..bf990348c0d 100644
--- a/ACE/tests/Logging_Strategy_Test.cpp
+++ b/ACE/tests/Logging_Strategy_Test.cpp
@@ -212,9 +212,11 @@ get_statistics (ACE_TCHAR *f_name)
ACE_TEXT (" File size (B): %d\n"),
buf.st_size));
+ time_t time = static_cast <time_t> (buf.st_mtime);
+
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT (" Time modified : %s\n"),
- ACE_OS::ctime (&buf.st_mtime)));
+ ACE_OS::ctime (&time)));
}
return buf.st_mtime;