• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

FFFTPのソースコードです。


Commit MetaInfo

Revisionb2bb9a2100f6e9f15626161761df0c094b975d19 (tree)
Time2011-12-04 02:32:22
Authors_kawamoto <s_kawamoto@user...>
Commiters_kawamoto

Log Message

Fix bugs of routines for double click.

Change Summary

Incremental Difference

Binary files a/FFFTP_Eng_Release/FFFTP.exe and b/FFFTP_Eng_Release/FFFTP.exe differ
Binary files a/Release/FFFTP.exe and b/Release/FFFTP.exe differ
--- a/filelist.c
+++ b/filelist.c
@@ -444,9 +444,11 @@ static void doTransferRemoteFile(void)
444444 int CancelFlg = NO;
445445 char LocDir[FMAX_PATH+1];
446446 char TmpDir[FMAX_PATH+1];
447- char buf[32];
447+ // 環境依存の不具合対策
448+// char buf[32];
448449 int i;
449- DWORD pid;
450+ // 環境依存の不具合対策
451+// DWORD pid;
450452
451453 // すでにリモートから転送済みなら何もしない。(2007.9.3 yutaka)
452454 if (remoteFileListBase != NULL)
@@ -470,7 +472,7 @@ static void doTransferRemoteFile(void)
470472 GetAppTempPath(TmpDir);
471473 _mkdir(TmpDir);
472474 SetYenTail(TmpDir);
473- strcat(TmpDir, "transfer");
475+ strcat(TmpDir, "file");
474476 _mkdir(TmpDir);
475477 #if 0
476478 if (TmpDir[strlen(TmpDir) - 1] == '\\') {
--- a/main.c
+++ b/main.c
@@ -2056,6 +2056,10 @@ static void ExitProc(HWND hWnd)
20562056
20572057 // 環境依存の不具合対策
20582058 GetAppTempPath(Tmp);
2059+ SetYenTail(Tmp);
2060+ strcat(Tmp, "file");
2061+ _rmdir(Tmp);
2062+ GetAppTempPath(Tmp);
20592063 _rmdir(Tmp);
20602064
20612065 if(RasClose == YES)
@@ -2131,6 +2135,10 @@ void DoubleClickProc(int Win, int Mode, int App)
21312135
21322136 strcpy(Remote, TmpPath);
21332137 SetYenTail(Remote);
2138+ // 環境依存の不具合対策
2139+ strcat(Remote, "file");
2140+ _mkdir(Remote);
2141+ SetYenTail(Remote);
21342142 if (UseDiffViewer == YES) {
21352143 strcat(Remote, "remote.");
21362144 }