Hi again,

I figured out what the problem was. If I change the tramp-md5-function from

(defvar tramp-md5-function
(cond ((fboundp 'md5) 'md5)
( (and (require 'md5) (fboundp 'md5-encode)) 'md5-encode)
(t (error "Coulnd't find an `md5' function")))
"Function to call for running the MD5 algorithm.")

to

(defvar tramp-md5-function
(cond ((and (require 'md5)(fboundp 'md5)) 'md5)
( (fboundp 'md5-encode) 'md5-encode)
(t (error "Coulnd't find an `md5' function")))
"Function to call for running the MD5 algorithm.")

it works. While the function md5 generates a printable string, md5-encode generates a vector of bytes that I guess gets interpreted as a string containing non printable characters... is there any reason md5 isn't "require' d" before checking if md5 is bound?

Regards,

/Patrik
============================================================
Patrik Jonsson (831) 459-3809
Department of Astronomy & Astrophysics
University of California, Santa Cruz, CA 95064

This message has been written using a voice recognition system.
Words that don't make sense or not the fault of the author...



_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.nongnu.org/mailman/listinfo/tramp-devel

Reply via email to