Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/teraterm/teraterm/filesys_log.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6364 by doda, Wed Apr 6 12:59:47 2016 UTC revision 6365 by yutakapon, Sat Apr 9 14:21:57 2016 UTC
# Line 637  BOOL LogStart() Line 637  BOOL LogStart()
637          LogVar->RotateSize = ts.LogRotateSize;          LogVar->RotateSize = ts.LogRotateSize;
638          LogVar->RotateStep = ts.LogRotateStep;          LogVar->RotateStep = ts.LogRotateStep;
639    
640            // Log rotateが有効の場合、初期ファイルサイズを設定する。
641            // 最初のファイルが設定したサイズでローテートしない問題の修正。
642            // (2016.4.9 yutaka)
643            if (LogVar->RotateMode != ROTATE_NONE) {
644                    size = GetFileSize((HANDLE)LogVar->FileHandle, NULL);
645                    if (size != -1)
646                            LogVar->ByteCount = size;
647            }
648    
649          if (! OpenFTDlg(LogVar)) {          if (! OpenFTDlg(LogVar)) {
650                  FileTransEnd(OpLog);                  FileTransEnd(OpLog);
651                  return FALSE;                  return FALSE;

Legend:
Removed from v.6364  
changed lines
  Added in v.6365

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26