tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp (2.3.5.26.2); Copy-paste of folder from Windows machine to Lin


From: Michael Albinus
Subject: Re: tramp (2.3.5.26.2); Copy-paste of folder from Windows machine to Linux server does not work
Date: Tue, 09 Jul 2019 15:04:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Guillaume Demeyère <address@hidden> writes:

> Hi Michael,

Hi Guillaume,

> I re-ran the test "copy-file" with emacs -Q beginning with setting
> tramp-verbose to 6. The logs are attached.

Thanks. This is helpful, and I found the problem. Tramp tries to check
whether the local machine does support "gzip":

> 13:26:45.178653 tramp-call-process (6) # 
> `C:/Users/gde3/Documents/emacs-26.2-x86_64/libexec/emacs/26.2/x86_64-w64-mingw32/cmdproxy.exe
>  /c echo xyzzy | "env" "GZIP=" "gzip" | "env" "GZIP=" "gzip" "-d"' nil nil
> 13:26:45.300479 tramp-call-process (6) # 0
> ERROR env: CreateProcessA

The process call returns error code 0 (this is what Tramp checks), but
there is also an error string. Tramp didn't check this. That's why Tramp
has decided it could use "gzip".

It's a pity that on MS Windows one cannot trust the return code. Hmm, so
what. The appended patch shall fix it, could you pls test? Personally, I
don't run MS Windows machines.

> Cordialement,
>
> Guillaume Demeyère

Best regards, Michael.

Attachment: txtNbAAXIqeUA.txt
Description: Text Data


reply via email to

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