tramp-devel
[Top][All Lists]
Advanced

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

Re: `tramp_perl_file_attributes /root/ integer' returns with error


From: Michael Albinus
Subject: Re: `tramp_perl_file_attributes /root/ integer' returns with error
Date: Thu, 15 Jul 2010 17:07:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Terrence Brannon <address@hidden> writes:

>> Unfortunately, this doesn't show us what happens. Could you, please,
>> change in `tramp-send-command-and-check' the line
>>
>>           (if command (if dont-suppress-err "; " " 2>/dev/null; ") "")
>>
>> to
>>
>>           (if command (if dont-suppress-err "; " " 2>/tmp/123; ") "")
>>
>> and try to investigate, what error has been written?
>
> It was a zero-length file ...

Ahh, stderr is already redirected somewhere else. Please revert this
patch, and apply instead

--8<---------------cut here---------------start------------->8---
*** /home/albinus/src/tramp/lisp/tramp.el.~1~   2010-07-13 17:43:56.000000000 
+0200
--- /home/albinus/src/tramp/lisp/tramp.el       2010-07-15 17:02:19.448021000 
+0200
***************
*** 1786,1792 ****
      $stat[2],
      $stat[1] >> 16 & 0xffff,
      $stat[1] & 0xffff
! );' \"$1\" \"$2\" \"$3\" 2>/dev/null"
    "Perl script to produce output suitable for use with `file-attributes'
  on the remote file system.
  Escape sequence %s is replaced with name of Perl binary.
--- 1786,1792 ----
      $stat[2],
      $stat[1] >> 16 & 0xffff,
      $stat[1] & 0xffff
! );' \"$1\" \"$2\" \"$3\" 2>/tmp/456"
    "Perl script to produce output suitable for use with `file-attributes'
  on the remote file system.
  Escape sequence %s is replaced with name of Perl binary.
--8<---------------cut here---------------end--------------->8---

Best regards, Michael.



reply via email to

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