emacs-devel
[Top][All Lists]
Advanced

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

Re: master cd0a795: Output number of characters added to file (Bug#354)


From: Michael Albinus
Subject: Re: master cd0a795: Output number of characters added to file (Bug#354)
Date: Fri, 07 Apr 2017 15:42:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

address@hidden (Noam Postavsky) writes:

> diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
> index 9977162..f78f541 100644
> --- a/lisp/net/tramp-sh.el
> +++ b/lisp/net/tramp-sh.el
> @@ -3411,7 +3411,8 @@ the result will be a local, non-Tramp, file name."
>          (when need-chown
>            (tramp-set-file-uid-gid filename uid gid))
>       (when (or (eq visit t) (null visit) (stringp visit))
> -       (tramp-message v 0 "Wrote %s" filename))
> +          (tramp-message v 0 "Wrote %d characters to `%s'"
> +                         (- end start) filename))

This breaks Tramp tests. In `write-region', START could be also nil or a
string.

Likely, the other changes suffer from the same problem.

Best regards, Michael.



reply via email to

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