diff options
Diffstat (limited to 'ACE/ace/FILE.cpp')
-rw-r--r-- | ACE/ace/FILE.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ACE/ace/FILE.cpp b/ACE/ace/FILE.cpp index 91ed5511e08..93fa7e417cd 100644 --- a/ACE/ace/FILE.cpp +++ b/ACE/ace/FILE.cpp @@ -57,8 +57,7 @@ ACE_FILE::get_info (ACE_FILE_Info *finfo) ACE_TRACE ("ACE_FILE::get_info"); ACE_stat filestatus; - int const result = ACE_OS::fstat (this->get_handle (), - &filestatus); + int const result = ACE_OS::fstat (this->get_handle (), &filestatus); if (result == 0) { @@ -82,15 +81,13 @@ int ACE_FILE::truncate (ACE_OFF_T length) { ACE_TRACE ("ACE_FILE::truncate"); - return ACE_OS::ftruncate (this->get_handle(), length); + return ACE_OS::ftruncate (this->get_handle (), length); } ACE_OFF_T ACE_FILE::seek (ACE_OFF_T offset, int startpos) { - return ACE_OS::lseek (this->get_handle (), - offset, - startpos); + return ACE_OS::lseek (this->get_handle (), offset, startpos); } ACE_OFF_T |