Develop and Download Open Source Software
Login
Create Account
Help
MY OSDN
Find Software
Magazine
Develop
Pastebin
Software
People
PersonalForge
Magazine
Wiki
OSDN
>
Find Software
>
Tera Term
Tera Term
Summary
Project Summary
Developer Dashboard
Project Reviews
Web Page
Developers
List of RSS Feeds
Statistics
History
Image Gallery
Search Keywords
News
Listed News
Help
Downloads
List of Releases
Help
Source Code
Guide
Browse CVS
Browse SVN
Help
Wiki
FrontPage
Title index
Recent changes
Wiki Search
Help
Docs
List Docs
Help
Forums
List of Forums
Open Discussion (173)
Help (428)
Help
Mailing Lists
list of ML
ttssh2-commit
ttssh2-dev
ttssh2-users
Help
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Help
Browse Subversion Repository
/
[ttssh2]
/
branches
/
ssh_chacha20poly1305
/
ttssh2
/
ttxssh
/
ssh.c
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.c
Parent Directory
|
Revision Log
|
Patch
revision
4479
by
yutakapon
, Wed Jun 1 14:53:36 2011 UTC
revision
4490
by
yutakapon
, Wed Jun 8 12:04:57 2011 UTC
#
Line 7461
static LRESULT CALLBACK ssh_scp_dlg_proc
Line 7461
static LRESULT CALLBACK ssh_scp_dlg_proc
7461
}
}
7462
7463
case IDCANCEL:
case IDCANCEL:
7464
EndDialog(hWnd, 0);
// ウィンドウをいきなり破棄するのではなく、非表示にするのみとして、
7465
DestroyWindow(hWnd);
// スレッドからのメッセージを処理できるようにする。
7466
// (2011.6.8 yutaka)
7467
//EndDialog(hWnd, 0);
7468
//DestroyWindow(hWnd);
7469
ShowWindow(hWnd, SW_HIDE);
7470
return TRUE;
return TRUE;
7471
default:
default:
7472
return FALSE;
return FALSE;
#
Line 7490
static int is_canceled_window(HWND hd)
Line 7494
static int is_canceled_window(HWND hd)
7494
// ウィンドウが見えなくなったら、キャンセルされた。
// ウィンドウが見えなくなったら、キャンセルされた。
7495
if (IsWindow(hd) == 0)
if (IsWindow(hd) == 0)
7496
return 1;
return 1;
7497
// ウィンドウが非表示の場合、キャンセルされた。
7498
if (IsWindowVisible(hd) == 0)
7499
return 1;
7500
return 0;
return 0;
7501
}
}
7502
#
Line 7604
static unsigned __stdcall ssh_scp_thread
Line 7611
static unsigned __stdcall ssh_scp_thread
7611
return 0;
return 0;
7612
7613
cancel_abort:
cancel_abort:
7614
ssh2_channel_send_close(pvar, c);
// チャネルのクローズを行いたいが、直接 ssh2_channel_send_close() を呼び出すと、
7615
// 当該関数がスレッドセーフではないため、SCP処理が正常に終了しない場合がある。
7616
// (2011.6.8 yutaka)
7617
parm.c = c;
7618
parm.pvar = pvar;
7619
SendMessage(hWnd, WM_CHANNEL_CLOSE, (WPARAM)&parm, 0);
7620
7621
abort:
abort:
7622
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.4479
changed lines
Added in v.4490
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26