[31338] trunk/base/src/port/port.tcl
jberry at macports.org
jberry at macports.org
Tue Nov 20 06:40:25 PST 2007
Revision: 31338
http://trac.macosforge.org/projects/macports/changeset/31338
Author: jberry at macports.org
Date: 2007-11-20 06:40:23 -0800 (Tue, 20 Nov 2007)
Log Message:
-----------
port(1): in interactive mode, flush output channel after issuing prompt, to avoid problem of prompt showing up after the command is given.
Modified Paths:
--------------
trunk/base/src/port/port.tcl
Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl 2007-11-20 14:02:56 UTC (rev 31337)
+++ trunk/base/src/port/port.tcl 2007-11-20 14:40:23 UTC (rev 31338)
@@ -2461,6 +2461,7 @@
set len [readline read -attempted_completion attempt_completion line $prompt]
} else {
puts -nonewline $out $prompt
+ flush $out
set len [gets $in line]
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071120/c1d16ea4/attachment.html
More information about the macports-changes
mailing list