changeset 103328:485abb3b56cd

* tramp.el (tramp-open-connection-setup-interactive-shell): Apply workaround for OpenSolaris bug.
author Michael Albinus <michael.albinus@gmx.de>
date Sat, 06 Jun 2009 23:25:06 +0000
parents f3560942d8bc
children 6e1bbdb54303
files lisp/net/tramp.el
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/tramp.el	Sat Jun 06 14:26:52 2009 +0000
+++ b/lisp/net/tramp.el	Sat Jun 06 23:25:06 2009 +0000
@@ -6090,6 +6090,13 @@
 
   ;; Set the environment.
   (tramp-message vec 5 "Setting default environment")
+
+  ;; On OpenSolaris, there is a bug when HISTFILE is changed in place
+  ;; <http://bugs.opensolaris.org/view_bug.do?bug_id=6834184>.  We
+  ;; apply the workaround.
+  (if (string-equal (tramp-get-connection-property vec "uname" "") "SunOS 5.11")
+      (tramp-send-command vec "unset HISTFILE"))
+
   (let ((env (copy-sequence tramp-remote-process-environment))
 	unset item)
     (while env
@@ -7767,6 +7774,7 @@
 ;;   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)
+;; * Use lsh instead of ssh (Alfred M. Szmidt)
 
 ;; Functions for file-name-handler-alist:
 ;; diff-latest-backup-file -- in diff.el