# HG changeset patch # User Michael Albinus # Date 1287480381 -7200 # Node ID f0ba7e7104ca21a5325fa37cdf9793bba0450df4 # Parent fd1924053d81ca1664b4c77ea31492ab1a4e02bc * net/tramp.el (tramp-do-file-attributes-with-stat) (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in order to make stat results a float. Patch by Andreas Schwab . diff -r fd1924053d81 -r f0ba7e7104ca lisp/ChangeLog --- a/lisp/ChangeLog Mon Oct 18 14:38:11 2010 -0400 +++ b/lisp/ChangeLog Tue Oct 19 11:26:21 2010 +0200 @@ -1,3 +1,10 @@ +2010-10-19 Michael Albinus + + * net/tramp.el (tramp-do-file-attributes-with-stat) + (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in + order to make stat results a float. Patch by Andreas Schwab + . + 2010-10-18 Stefan Monnier * repeat.el (repeat): Use read-key (bug#6256). @@ -15,7 +22,8 @@ 2010-10-15 Michael Albinus * net/tramp.el (tramp-open-connection-setup-interactive-shell): - Suppress expansion of tabs to spaces. + Suppress expansion of tabs to spaces. Reported by Dale Sedivec + . 2010-10-15 Kenichi Handa diff -r fd1924053d81 -r f0ba7e7104ca lisp/net/tramp.el --- a/lisp/net/tramp.el Mon Oct 18 14:38:11 2010 -0400 +++ b/lisp/net/tramp.el Tue Oct 19 11:26:21 2010 +0200 @@ -2922,7 +2922,7 @@ (format ;; On Opsware, pdksh (which is the true name of ksh there) doesn't ;; parse correctly the sequence "((". Therefore, we add a space. - "( (%s %s || %s -h %s) && %s -c '( (\"%%N\") %%h %s %s %%X.0 %%Y.0 %%Z.0 %%s.0 \"%%A\" t %%i.0 -1)' %s || echo nil)" + "( (%s %s || %s -h %s) && %s -c '( (\"%%N\") %%h %s %s %%Xe0 %%Ye0 %%Ze0 %%se0 \"%%A\" t %%ie0 -1)' %s || echo nil)" (tramp-get-file-exists-command vec) (tramp-shell-quote-argument localname) (tramp-get-test-command vec) @@ -3378,7 +3378,7 @@ ;; but it does not work on all remote systems. Therefore, we ;; quote the filenames via sed. "cd %s; echo \"(\"; (%s -a | sed -e s/\\$/\\\"/g -e s/^/\\\"/g | xargs " - "%s -c '(\"%%n\" (\"%%N\") %%h %s %s %%X.0 %%Y.0 %%Z.0 %%s.0 \"%%A\" t %%i.0 -1)'); " + "%s -c '(\"%%n\" (\"%%N\") %%h %s %s %%Xe0 %%Ye0 %%Ze0 %%se0 \"%%A\" t %%ie0 -1)'); " "echo \")\"") (tramp-shell-quote-argument localname) (tramp-get-ls-command vec)