Develop and Download Open Source Software

Browse CVS Repository

Diff of /ttssh2/teraterm/source/teraterm/filesys.cpp

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

revision 1.5 by yutakakn, Sun Jul 23 14:12:26 2006 UTC revision 1.6 by maya, Mon Aug 28 12:27:16 2006 UTC
# Line 248  void LogStart() Line 248  void LogStart()
248                  Option = MAKELONG(ts.TransBin,ts.Append |                  Option = MAKELONG(ts.TransBin,ts.Append |
249                                                    (0x1000 * ts.LogTypePlainText) |                                                    (0x1000 * ts.LogTypePlainText) |
250                                                    (0x2000 * ts.LogTimestamp));                                                    (0x2000 * ts.LogTimestamp));
251    
252                    // ログのデフォルトファイル名を設定 (2006.8.28 maya)
253                    strncat(LogVar->FullName, ts.LogDefaultName, sizeof(LogVar->FullName));
254                    ParseStrftimeFileName(LogVar->FullName);
255    
256                  if (! (*GetTransFname)(LogVar, ts.FileDir, GTF_LOG, &Option))                  if (! (*GetTransFname)(LogVar, ts.FileDir, GTF_LOG, &Option))
257                  {                  {
258                          FreeFileVar(&LogVar);                          FreeFileVar(&LogVar);
# Line 574  void FileSendStart() Line 579  void FileSendStart()
579    if (strlen(&(SendVar->FullName[SendVar->DirLen]))==0)    if (strlen(&(SendVar->FullName[SendVar->DirLen]))==0)
580    {    {
581      Option = MAKELONG(ts.TransBin,0);      Option = MAKELONG(ts.TransBin,0);
582            SendVar->FullName[0] = 0;
583      if (! (*GetTransFname)(SendVar, ts.FileDir, GTF_SEND, &Option))      if (! (*GetTransFname)(SendVar, ts.FileDir, GTF_SEND, &Option))
584      {      {
585        FileTransEnd(OpSendFile);        FileTransEnd(OpSendFile);
# Line 1060  void BPStart(int mode) Line 1066  void BPStart(int mode)
1066      FileVar->OpId = OpBPSend;      FileVar->OpId = OpBPSend;
1067      if (strlen(&(FileVar->FullName[FileVar->DirLen]))==0)      if (strlen(&(FileVar->FullName[FileVar->DirLen]))==0)
1068      {      {
1069              FileVar->FullName[0] = 0;
1070        if (! (*GetTransFname)(FileVar, ts.FileDir, GTF_BP, &Option))        if (! (*GetTransFname)(FileVar, ts.FileDir, GTF_BP, &Option))
1071        {        {
1072          ProtoEnd();          ProtoEnd();
# Line 1120  void QVStart(int mode) Line 1127  void QVStart(int mode)
1127    
1128  /*  /*
1129   * $Log$   * $Log$
1130     * Revision 1.6  2006/08/28 12:27:16  maya
1131     * デフォルトのログファイル名を指定できるようにした。
1132     *   エディットコントロールを "Additional settings" ダイアログに追加した。
1133     *   teraterm.ini ファイルに LogDefaultName エントリを追加した。
1134     *   ファイル名に strftime のフォーマットを使えるようにした。
1135     *
1136   * Revision 1.5  2006/07/23 14:12:26  yutakakn   * Revision 1.5  2006/07/23 14:12:26  yutakakn
1137   * ログに含める日付フォーマットを世界標準書式に変更した。   * ログに含める日付フォーマットを世界標準書式に変更した。
1138   *   *

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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