[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recent changes on tramp introduce a bug

From: Michael Albinus
Subject: Re: Recent changes on tramp introduce a bug
Date: Tue, 22 Jan 2008 15:22:24 +0100
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux)

Herbert Euler <address@hidden> writes:

> Hello,


> The following changes to `tramp-wait-for-output' on net/tramp.el
> introduce a bug:
> The old code uses (forward-line -2), the new code uses
> (re-search-backward regexp nil t).

IIRC, (forward-line -2) results in an error if a command on the remote
host returns a result without a trailing newline. That's why Tramp
tries to remove now exactly the trailing prompt, and nothing else.

Could you, please, check whether the appended patch works for you?

> Regards,
> Guanpeng Xu

Best regards, Michael.

Attachment: txtpRf4OCvF_8.txt
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]