Loweynet
修訂 | ea2078360ebe7fcb9d0335ff815da6f6852de641 (tree) |
---|---|
時間 | 2017-10-28 22:11:13 |
作者 | s_kawamoto <s_kawamoto@user...> |
Commiter | s_kawamoto |
Fix bugs of error recovery routine.
@@ -242,7 +242,7 @@ FONT 9, "MS Shell Dlg", 0, 0, 0x0 | ||
242 | 242 | BEGIN |
243 | 243 | DEFPUSHBUTTON "OK",IDOK,133,294,50,14 |
244 | 244 | ICON ffftp,-1,7,4,20,20 |
245 | - CTEXT "FFFTP Ver 1.99a-20170924",-1,113,11,90,8 | |
245 | + CTEXT "FFFTP Ver 1.99a-20171028",-1,113,11,90,8 | |
246 | 246 | CTEXT "FFFTPÍfreewareÅ·",-1,7,279,305,8 |
247 | 247 | CTEXT "Copyright(C) 1997-2010 Sota & ²¦Í¢½¾¢½ûX\nCopyright (C) 2011-2017 FFFTP Project (Hiromichi Matsushima, Suguru Kawamoto, IWAMOTO Kouichi, vitamin0x, ¤È[, Asami, fortran90, tomo1192, Yuji Tanaka, Moriguchi Hirokazu, Ó¤¹ñ)",-1,7,25,305,44,SS_NOPREFIX |
248 | 248 | CTEXT "",ABOUT_JRE,7,96,305,8 |
@@ -2213,8 +2213,8 @@ nodrop_csr CURSOR "nodrop_c.cur" | ||
2213 | 2213 | // |
2214 | 2214 | |
2215 | 2215 | VS_VERSION_INFO VERSIONINFO |
2216 | - FILEVERSION 1,99,1,16 | |
2217 | - PRODUCTVERSION 1,99,1,16 | |
2216 | + FILEVERSION 1,99,1,17 | |
2217 | + PRODUCTVERSION 1,99,1,17 | |
2218 | 2218 | FILEFLAGSMASK 0x3fL |
2219 | 2219 | #ifdef _DEBUG |
2220 | 2220 | FILEFLAGS 0x1L |
@@ -2232,12 +2232,12 @@ BEGIN | ||
2232 | 2232 | VALUE "Comments", "±êÍt[\tgEGAÅ·B" |
2233 | 2233 | VALUE "CompanyName", "Sota, FFFTP Project" |
2234 | 2234 | VALUE "FileDescription", "FFFTP" |
2235 | - VALUE "FileVersion", "1, 99, 1, 16" | |
2235 | + VALUE "FileVersion", "1, 99, 1, 17" | |
2236 | 2236 | VALUE "InternalName", "FFFTP" |
2237 | 2237 | VALUE "LegalCopyright", "Copyright (C) 1997-2010 Sota & ²¦Í¢½¾¢½ûX\nCopyright (C) 2011-2017 FFFTP Project (Hiromichi Matsushima, Suguru Kawamoto, IWAMOTO Kouichi, vitamin0x, ¤È[, Asami, fortran90, tomo1192, Yuji Tanaka, Moriguchi Hirokazu, Ó¤¹ñ)." |
2238 | 2238 | VALUE "OriginalFilename", "FFFTP.exe" |
2239 | 2239 | VALUE "ProductName", "FFFTP" |
2240 | - VALUE "ProductVersion", "1, 99, 1, 16" | |
2240 | + VALUE "ProductVersion", "1, 99, 1, 17" | |
2241 | 2241 | END |
2242 | 2242 | END |
2243 | 2243 | BLOCK "VarFileInfo" |
@@ -242,7 +242,7 @@ FONT 9, "MS Shell Dlg", 0, 0, 0x0 | ||
242 | 242 | BEGIN |
243 | 243 | DEFPUSHBUTTON "OK",IDOK,132,296,50,14 |
244 | 244 | ICON ffftp,-1,7,4,20,20 |
245 | - CTEXT "FFFTP Ver 1.99a-20170924",-1,110,11,90,8 | |
245 | + CTEXT "FFFTP Ver 1.99a-20171028",-1,110,11,90,8 | |
246 | 246 | CTEXT "FFFTP is freeware",-1,7,281,301,8 |
247 | 247 | CTEXT "Copyright(C) 1997-2010 Sota && cooperators\nCopyright (C) 2011-2017 FFFTP Project (Hiromichi Matsushima, Suguru Kawamoto, IWAMOTO Kouichi, vitamin0x, unarist, Asami, fortran90, tomo1192, Yuji Tanaka, Moriguchi Hirokazu, Fu-sen)",-1,7,25,301,44 |
248 | 248 | CTEXT "",ABOUT_JRE,7,93,301,8 |
@@ -2253,8 +2253,8 @@ nodrop_csr CURSOR "nodrop_c.cur" | ||
2253 | 2253 | // |
2254 | 2254 | |
2255 | 2255 | VS_VERSION_INFO VERSIONINFO |
2256 | - FILEVERSION 1,99,1,16 | |
2257 | - PRODUCTVERSION 1,99,1,16 | |
2256 | + FILEVERSION 1,99,1,17 | |
2257 | + PRODUCTVERSION 1,99,1,17 | |
2258 | 2258 | FILEFLAGSMASK 0x3fL |
2259 | 2259 | #ifdef _DEBUG |
2260 | 2260 | FILEFLAGS 0x1L |
@@ -2272,12 +2272,12 @@ BEGIN | ||
2272 | 2272 | VALUE "Comments", "This software is Free Software" |
2273 | 2273 | VALUE "CompanyName", "Sota, FFFTP Project" |
2274 | 2274 | VALUE "FileDescription", "FFFTP" |
2275 | - VALUE "FileVersion", "1, 99, 1, 16" | |
2275 | + VALUE "FileVersion", "1, 99, 1, 17" | |
2276 | 2276 | VALUE "InternalName", "FFFTP" |
2277 | 2277 | VALUE "LegalCopyright", "Copyright (C) 1997-2010 Sota & cooperators\nCopyright (C) 2011-2017 FFFTP Project (Hiromichi Matsushima, Suguru Kawamoto, IWAMOTO Kouichi, vitamin0x, unarist, Asami, fortran90, tomo1192, Yuji Tanaka, Moriguchi Hirokazu, Fu-sen)." |
2278 | 2278 | VALUE "OriginalFilename", "FFFTP.exe" |
2279 | 2279 | VALUE "ProductName", "FFFTP" |
2280 | - VALUE "ProductVersion", "1, 99, 1, 16" | |
2280 | + VALUE "ProductVersion", "1, 99, 1, 17" | |
2281 | 2281 | END |
2282 | 2282 | END |
2283 | 2283 | BLOCK "VarFileInfo" |
@@ -3867,11 +3867,12 @@ static int RenameUnuseableName(char *Fname) | ||
3867 | 3867 | // NOOPコマンドでは効果が無いホストが多いためLISTコマンドを使用 |
3868 | 3868 | void NoopProc(int Force) |
3869 | 3869 | { |
3870 | -// CancelFlg = NO; | |
3871 | 3870 | if(Force == YES || (AskConnecting() == YES && AskUserOpeDisabled() == NO)) |
3872 | 3871 | { |
3873 | - if(AskReuseCmdSkt() == NO || AskShareProh() == YES || AskTransferNow() == NO) | |
3872 | + if(AskReuseCmdSkt() == NO || (AskShareProh() == YES && AskTransferNow() == NO)) | |
3874 | 3873 | { |
3874 | + if(Force == NO) | |
3875 | + CancelFlg = NO; | |
3875 | 3876 | DisableUserOpe(); |
3876 | 3877 | DoDirListCmdSkt("", "", 999, &CancelFlg); |
3877 | 3878 | EnableUserOpe(); |
@@ -3884,9 +3885,9 @@ void AbortRecoveryProc(void) | ||
3884 | 3885 | { |
3885 | 3886 | if(AskConnecting() == YES && AskUserOpeDisabled() == NO) |
3886 | 3887 | { |
3887 | - CancelFlg = NO; | |
3888 | 3888 | if(AskReuseCmdSkt() == NO || AskShareProh() == YES || AskTransferNow() == NO) |
3889 | 3889 | { |
3890 | + CancelFlg = NO; | |
3890 | 3891 | if(AskErrorReconnect() == YES) |
3891 | 3892 | { |
3892 | 3893 | DisableUserOpe(); |
@@ -1166,6 +1166,8 @@ static LRESULT CALLBACK FtpWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARA | ||
1166 | 1166 | } |
1167 | 1167 | } |
1168 | 1168 | } |
1169 | + if(CancelFlg == YES) | |
1170 | + AbortRecoveryProc(); | |
1169 | 1171 | if(NoopEnable == YES && AskNoopInterval() > 0 && time(NULL) - LastDataConnectionTime >= AskNoopInterval()) |
1170 | 1172 | { |
1171 | 1173 | NoopProc(NO); |