# HG changeset patch # User Michael Albinus # Date 1240581260 0 # Node ID 078ccf3337b113ad98c9427550530b3b6a23ea45 # Parent 3445c12cea0c8f38e7c6f27c3d2a6f2250524df4 * net/tramp.el (tramp-handle-directory-files-and-attributes-with-stat) (tramp-handle-file-name-all-completions): Don't use "-b" as ls arg. It does not work on OpenBSD. Reported by Taylor Venable . diff -r 3445c12cea0c -r 078ccf3337b1 lisp/net/tramp.el --- a/lisp/net/tramp.el Fri Apr 24 00:57:34 2009 +0000 +++ b/lisp/net/tramp.el Fri Apr 24 13:54:20 2009 +0000 @@ -2920,7 +2920,7 @@ vec (format (concat - "cd %s; echo \"(\"; (%s -ab | xargs " + "cd %s; echo \"(\"; (%s -a | xargs " "%s -c '(\"%%n\" (\"%%N\") %%h %s %s %%X.0 %%Y.0 %%Z.0 %%s.0 \"%%A\" t %%i.0 -1)'); " "echo \")\"") (tramp-shell-quote-argument localname) @@ -2962,7 +2962,7 @@ ;; rock. --daniel@danann.net (tramp-send-command v - (format (concat "%s -ab 2>/dev/null | while read f; do " + (format (concat "%s -a 2>/dev/null | while read f; do " "if %s -d \"$f\" 2>/dev/null; " "then echo \"$f/\"; else echo \"$f\"; fi; done") (tramp-get-ls-command v) @@ -7763,6 +7763,10 @@ ;; encoding routine. ;; * It makes me wonder if tramp couldn't fall back to ssh when scp ;; isn't on the remote host. (Mark A. Hershberger) +;; * To improve the behavior in case of things like "git status", it +;; might be worthwhile to add some way to indicate that a particular +;; use of process-file is (supposed to be) free of side-effects. +;; (Stefan Monnier) ;; Functions for file-name-handler-alist: ;; diff-latest-backup-file -- in diff.el