ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r575511 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java
Date Fri, 14 Sep 2007 01:48:47 GMT
Author: kevj
Date: Thu Sep 13 18:48:47 2007
New Revision: 575511

URL: http://svn.apache.org/viewvc?rev=575511&view=rev
Log:
-use isClosed instead of isEOF, bugzilla #43092

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java?rev=575511&r1=575510&r2=575511&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java Thu Sep
13 18:48:47 2007
@@ -187,7 +187,7 @@
             thread =
                 new Thread() {
                     public void run() {
-                        while (!channel.isEOF()) {
+                        while (!channel.isClosed()) {
                             if (thread == null) {
                                 return;
                             }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message