>>>> "APA" == Adrian Aichner
<aichner(a)ecf.teradyne.com> writes:
APA> I am now fairly convinced that (md5 ...) or a function used
APA> by it is broken (both in 21.1.9 and 21.2-b32). Can anybody
APA> prove me right/wrong?
OK, I can prove myself wrong, HAH!
package-info.el uses this to create the MD5 sum for package-info:
(defun pi-md5sum (file)
(with-temp-buffer
(call-process "md5sum" file t)
(goto-char (point-min))
(looking-at "[a-z0-9]+")
(buffer-substring (match-beginning 0) (match-end 0))))
This is bad for two reasons:
You need the external program md5sum!
The process of md5sum calculation during package generation is
different (using external program) from the validation process during
installation (using XEmacs builtin function md5).
I'm working on a patch for lisp\package-info.el now.
Later,
Adrian