[Bug 1265] SCP progress doesn't map to standard out or standard error

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Jan 22 12:57:12 EST 2007


http://bugzilla.mindrot.org/show_bug.cgi?id=1265


djm at mindrot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|bitbucket at mindrot.org       |djm at mindrot.org
   Attachment #1228|                            |ok?
               Flag|                            |




------- Comment #1 from djm at mindrot.org  2007-01-22 12:57 -------
Created an attachment (id=1228)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=1228&action=view)
check isatty(stdout) for progress meter

This is a bug in scp. It checks for stderr being a TTY before
displaying the progress meter, but actually writes the progress meter
to stdout. So if either is redirected then the progress meter will not
be displayed.

The attached patch makes the test and the writing consistent.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the assignee for the bug, or are watching the assignee.


More information about the openssh-bugs mailing list