[Ttssh2-commit] [7108] SSH サブシステム使用後にシェルセッションが開けなかったのを修正。

scmno****@osdn***** scmno****@osdn*****
2018年 5月 28日 (月) 16:49:38 JST


Revision: 7108
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/7108
Author:   doda
Date:     2018-05-28 16:49:38 +0900 (Mon, 28 May 2018)
Log Message:
-----------
SSH サブシステム使用後にシェルセッションが開けなかったのを修正。

pvar->use_subsystem をクリアするのを忘れてた。

Modified Paths:
--------------
    trunk/doc/en/html/about/history.html
    trunk/doc/ja/html/about/history.html
    trunk/ttssh2/ttxssh/ssh.c

-------------- next part --------------
Modified: trunk/doc/en/html/about/history.html
===================================================================
--- trunk/doc/en/html/about/history.html	2018-05-28 07:49:23 UTC (rev 7107)
+++ trunk/doc/en/html/about/history.html	2018-05-28 07:49:38 UTC (rev 7108)
@@ -3005,6 +3005,12 @@
 
 <h3><a name="ttssh_2.85">2018.05.xx (Ver 2.85)</a></h3>
 <ul class="history">
+  <li>Bug fixes
+    <ul>
+      <li>Can't open normal ssh (shell) session after using ssh subsystem.</li>
+    </ul>
+  </li>
+
   <li>\x82\xBB\x82̑\xBC
     <ul>
       <li>upgraded OpenSSL to 1.0.2o.</li>

Modified: trunk/doc/ja/html/about/history.html
===================================================================
--- trunk/doc/ja/html/about/history.html	2018-05-28 07:49:23 UTC (rev 7107)
+++ trunk/doc/ja/html/about/history.html	2018-05-28 07:49:38 UTC (rev 7108)
@@ -3011,6 +3011,12 @@
 
 <h3><a name="ttssh_2.85">2018.05.xx (Ver 2.85)</a></h3>
 <ul class="history">
+  <li>\x83o\x83O\x8FC\x90\xB3
+    <ul>
+      <li>SSH \x83T\x83u\x83V\x83X\x83e\x83\x80\x82ւ̐ڑ\xB1\x8C\xE3\x82ɁA\x92ʏ\xED\x82\xCC SSH (\x83V\x83F\x83\x8B)\x83Z\x83b\x83V\x83\x87\x83\x93\x82\xAA\x8AJ\x82\xAF\x82Ȃ\xA2\x96\xE2\x91\xE8\x82\xF0\x8FC\x90\xB3\x82\xB5\x82\xBD\x81B</li>
+    </ul>
+  </li>
+
   <li>\x82\xBB\x82̑\xBC
     <ul>
       <li>OpenSSL 1.0.2o\x82֍\xB7\x82\xB5\x91ւ\xA6\x82\xBD\x81B</li>

Modified: trunk/ttssh2/ttxssh/ssh.c
===================================================================
--- trunk/ttssh2/ttxssh/ssh.c	2018-05-28 07:49:23 UTC (rev 7107)
+++ trunk/ttssh2/ttxssh/ssh.c	2018-05-28 07:49:38 UTC (rev 7108)
@@ -2847,6 +2847,7 @@
 	pvar->ssh2_authlist = NULL; // (2007.4.27 yutaka)
 	pvar->tryed_ssh2_authlist = FALSE;
 	pvar->agentfwd_enable = FALSE;
+	pvar->use_subsystem = FALSE;
 
 }
 
@@ -3320,6 +3321,7 @@
 	buf_destroy(&pvar->ssh_state.postdecompress_inbuf,
 	            &pvar->ssh_state.postdecompress_inbuflen);
 	pvar->agentfwd_enable = FALSE;
+	pvar->use_subsystem = FALSE;
 
 	// support of "Compression delayed" (2006.6.23 maya)
 	if (pvar->ssh_state.compressing ||



Ttssh2-commit メーリングリストの案内