• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

よく使われているワード(クリックで追加)

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

Loweynet


コミットメタ情報

リビジョン9f908c1dba09f78b9f0a7c103e68873c5f5d4df9 (tree)
日時2018-04-08 13:59:54
作者s_kawamoto <s_kawamoto@user...>
コミッターs_kawamoto

ログメッセージ

Final Fix For This Program.

変更サマリ

差分

Binary files a/FFFTP_Eng_Release/FFFTP.exe and b/FFFTP_Eng_Release/FFFTP.exe differ
Binary files a/FFFTP_Eng_Release_64/FFFTP.exe and b/FFFTP_Eng_Release_64/FFFTP.exe differ
Binary files a/Release/FFFTP.exe and b/Release/FFFTP.exe differ
Binary files a/Release_64/FFFTP.exe and b/Release_64/FFFTP.exe differ
--- a/doc/eng/FFFTP.txt
+++ b/doc/eng/FFFTP.txt
@@ -25,7 +25,7 @@ Password feature.
2525 When you use this virsion first, please set Master Password from
2626 following menu.
2727
28-File ->@Settings -> Change Master password
28+File -> Settings -> Change Master password
2929
3030
3131 Changes in Ver.2.00
@@ -33,6 +33,9 @@ Changes in Ver.2.00
3333
3434 This list includes changes applied by automatic software updates.
3535
36+-- Changed the checking interval of automatic software updates from 7 days to
37+ 30 days.
38+
3639 -- Added a feature to export settings as WinSCP INI format.
3740
3841 -- Added an option to ignore addresses returned with PASV mode.
--- a/doc/eng/history.txt
+++ b/doc/eng/history.txt
@@ -3,6 +3,11 @@ FFFTP version history.
33 Changes in Ver.2.00
44 --------------------
55
6+This list includes changes applied by automatic software updates.
7+
8+-- Changed the checking interval of automatic software updates from 7 days to
9+ 30 days.
10+
611 -- Added a feature to export settings as WinSCP INI format.
712
813 -- Added an option to ignore addresses returned with PASV mode.
@@ -444,12 +449,12 @@ Changes in Ver.1.97
444449 -------------------
445450
446451 -- Now you can use master password.
447- This function is made by Gengen-san.@Thanks.
452+ This function is made by Gengen-san. Thanks.
448453 When you use this virsion first, set master password from following menu.
449- File ->@Settings -> Change Master password
454+ File -> Settings -> Change Master password
450455
451456 -- Now passwords are encrypted with AES.
452- This function is made by Moca-san.@Thanks.
457+ This function is made by Moca-san. Thanks.
453458
454459 Changes in Ver.1.96d
455460 --------------------
--- a/doc/jpn/FFFTP.txt
+++ b/doc/jpn/FFFTP.txt
@@ -32,6 +32,8 @@ Ver 2.00
3232
3333 Ž©“®XV‹@”\‚őΉž‚µ‚½“à—e‚ðŠÜ‚ß‚Ä‹LÚ‚µ‚Ü‚·B
3434
35+Eƒ\ƒtƒgƒEƒFƒAŽ©“®XV‹@”\‚ÌŠm”FŠÔŠu‚ð7“ú‚©‚ç30“ú‚ɕύX‚µ‚Ü‚µ‚½B
36+
3537 EÝ’è‚ðWinSCP INIŒ`Ž®‚ɃGƒNƒXƒ|[ƒg‚·‚é‹@”\‚ð’ljÁ‚µ‚Ü‚µ‚½B
3638
3739 EPASVƒ‚[ƒh‚Å•Ô‚³‚ê‚éƒAƒhƒŒƒX‚𖳎‹‚·‚é‹@”\‚ð’ljÁ‚µ‚Ü‚µ‚½B
--- a/doc/jpn/history.txt
+++ b/doc/jpn/history.txt
@@ -2,6 +2,10 @@ FFFTP
22
33 ¡Ver 2.00
44
5+Ž©“®XV‹@”\‚őΉž‚µ‚½“à—e‚ðŠÜ‚ß‚Ä‹LÚ‚µ‚Ü‚·B
6+
7+Eƒ\ƒtƒgƒEƒFƒAŽ©“®XV‹@”\‚ÌŠm”FŠÔŠu‚ð7“ú‚©‚ç30“ú‚ɕύX‚µ‚Ü‚µ‚½B
8+
59 EÝ’è‚ðWinSCP INIŒ`Ž®‚ɃGƒNƒXƒ|[ƒg‚·‚é‹@”\‚ð’ljÁ‚µ‚Ü‚µ‚½B
610
711 EPASVƒ‚[ƒh‚Å•Ô‚³‚ê‚éƒAƒhƒŒƒX‚𖳎‹‚·‚é‹@”\‚ð’ljÁ‚µ‚Ü‚µ‚½B
--- a/src/common.h
+++ b/src/common.h
@@ -81,7 +81,7 @@
8181 // ソフトウェア自動更新
8282 // リリースバージョンはリリース予定年(10進数4桁)+月(2桁)+日(2桁)+通し番号(0スタート2桁)とする
8383 // 2014年7月31日中の30個目のリリースは2014073129
84-#define RELEASE_VERSION_NUM 2018010700 /* リリースバージョン */
84+#define RELEASE_VERSION_NUM 2018040800 /* リリースバージョン */
8585
8686
8787 // SourceForge.JPによるフォーク
--- a/src/main.c
+++ b/src/main.c
@@ -286,7 +286,7 @@ int ReadOnlySettings = NO;
286286 // ソフトウェア自動更新
287287 int AutoCheckForUpdates = YES;
288288 int AutoApplyUpdates = NO;
289-int AutoCheckForUptatesInterval = 7;
289+int AutoCheckForUptatesInterval = 30;
290290 time_t LastAutoCheckForUpdates = 0;
291291 // ファイル一覧バグ修正
292292 int AbortOnListError = YES;
--- a/src/registry.c
+++ b/src/registry.c
@@ -1459,6 +1459,12 @@ int LoadRegistry(void)
14591459 ReadIntValueFromReg(hKey4, "UpdCheck", &AutoCheckForUpdates);
14601460 ReadIntValueFromReg(hKey4, "UpdApply", &AutoApplyUpdates);
14611461 ReadIntValueFromReg(hKey4, "UpdInterval", &AutoCheckForUptatesInterval);
1462+ // 今後の緊急リリースとトラフィック軽減を考慮し確認間隔を30日に延長
1463+ if(Version < 2000)
1464+ {
1465+ if(AutoCheckForUptatesInterval < 30)
1466+ AutoCheckForUptatesInterval = 30;
1467+ }
14621468 ReadBinaryFromReg(hKey4, "UpdLastCheck", &LastAutoCheckForUpdates, sizeof(LastAutoCheckForUpdates));
14631469 // ファイル一覧バグ修正
14641470 ReadIntValueFromReg(hKey4, "AbortListErr", &AbortOnListError);
@@ -4111,7 +4117,6 @@ void SaveSettingsToWinSCPIni()
41114117 {
41124118 char Fname[FMAX_PATH+1];
41134119 FILE* f;
4114- TIME_ZONE_INFORMATION tzi;
41154120 char HostPath[FMAX_PATH+1];
41164121 int Level;
41174122 int i;
@@ -4124,7 +4129,6 @@ void SaveSettingsToWinSCPIni()
41244129 {
41254130 if((f = fopen(Fname, "at")) != NULL)
41264131 {
4127- GetTimeZoneInformation(&tzi);
41284132 strcpy(HostPath, "");
41294133 Level = 0;
41304134 i = 0;
--- a/src/socketwrapper.c
+++ b/src/socketwrapper.c
@@ -971,7 +971,7 @@ DWORD WINAPI WSAAsyncGetHostByNameIPv6ThreadProc(LPVOID lpParameter)
971971 else
972972 PostMessage(pData->hWnd, pData->wMsg, (WPARAM)pData->h, (LPARAM)(ERROR_INVALID_FUNCTION << 16));
973973 // CreateThreadが返すハンドルが重複するのを回避
974- Sleep(10000);
974+ Sleep(1000);
975975 CloseHandle(pData->h);
976976 free(pData->name);
977977 free(pData);
@@ -988,6 +988,7 @@ HANDLE WSAAsyncGetHostByNameIPv6(HWND hWnd, u_int wMsg, const char * name, char
988988 hResult = NULL;
989989 if(pData = malloc(sizeof(GETHOSTBYNAMEDATA)))
990990 {
991+ pData->h = NULL;
991992 pData->hWnd = hWnd;
992993 pData->wMsg = wMsg;
993994 if(pData->name = malloc(sizeof(char) * (strlen(name) + 1)))
@@ -998,8 +999,8 @@ HANDLE WSAAsyncGetHostByNameIPv6(HWND hWnd, u_int wMsg, const char * name, char
998999 pData->Family = Family;
9991000 if(pData->h = CreateThread(NULL, 0, WSAAsyncGetHostByNameIPv6ThreadProc, pData, CREATE_SUSPENDED, NULL))
10001001 {
1001- ResumeThread(pData->h);
1002- hResult = pData->h;
1002+ if(ResumeThread(pData->h) != (DWORD)-1)
1003+ hResult = pData->h;
10031004 }
10041005 }
10051006 }
@@ -1007,6 +1008,11 @@ HANDLE WSAAsyncGetHostByNameIPv6(HWND hWnd, u_int wMsg, const char * name, char
10071008 {
10081009 if(pData)
10091010 {
1011+ if(pData->h)
1012+ {
1013+ TerminateThread(pData->h, 0);
1014+ CloseHandle(pData->h);
1015+ }
10101016 if(pData->name)
10111017 free(pData->name);
10121018 free(pData);