diff options
author | spark <spark@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-03-29 17:36:41 +0000 |
---|---|---|
committer | spark <spark@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-03-29 17:36:41 +0000 |
commit | acf6c9a60c9add67d74af0d39934f586efb0af0d (patch) | |
tree | 5c00f2045977e7713a06f4cfdb4014998c81ac75 /tests/Logging_Strategy_Test.cpp | |
parent | 5c7e5e5738f014954367be734043512cdf3c7e48 (diff) | |
download | ATCD-acf6c9a60c9add67d74af0d39934f586efb0af0d.tar.gz |
ChangeLogTag: Fri Mar 29 11:33:00 2002 Si Mong Park <spark@ociweb.com>
Diffstat (limited to 'tests/Logging_Strategy_Test.cpp')
-rw-r--r-- | tests/Logging_Strategy_Test.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/Logging_Strategy_Test.cpp b/tests/Logging_Strategy_Test.cpp index 3adaff16576..90cdb112936 100644 --- a/tests/Logging_Strategy_Test.cpp +++ b/tests/Logging_Strategy_Test.cpp @@ -216,11 +216,25 @@ get_statistics (ACE_TCHAR *f_name) ACE_DEBUG ((LM_DEBUG, ACE_TEXT (" File size (B): %d\n"), buf.st_size)); + +#if defined (ACE_HAS_WINCE) + time_t tm = buf.st_mtime.sec(); + + ACE_DEBUG ((LM_DEBUG, + ACE_TEXT (" Time modified : %s\n"), + ACE_OS::ctime (&tm))); +#else ACE_DEBUG ((LM_DEBUG, ACE_TEXT (" Time modified : %s\n"), ACE_OS::ctime (&buf.st_mtime))); +#endif // ACE_HAS_WINCE } + +#if defined (ACE_HAS_WINCE) + return buf.st_mtime.sec(); +#else return buf.st_mtime; +#endif // ACE_HAS_WINCE } // analyse the file order |