md5-digest-for-FILE
Marco Maggesi <[email protected]> Sun, 19 Nov 2006 16:00:30 +0000 (UTC)
| Newsgroups | gmane.lisp.scheme.scsh |
|---|---|
| Organization | Università degli Studi di Firenze |
| Message-ID | <779548DB-B4CA-4B2D-8344-D10585C8208E%[email protected]> |
Hi everyone,
the md5 routine raises an exception on empty streams. More precisely:
$ touch emptyfile
$ scsh
Welcome to scsh 0.6.6 (King Conan)
Type ,? for help.
> (call-with-input-file "emptyfile" md5-digest-for-port)
Error: exception
#f
(< '#{End-of-file} 1024)
1>
Is this the correct behavior or a bug? In the first case, can you
explain to me more on the md5 api?
In the second case, you may find useful to know that I use scsh 0.6.6
on an intel macbook pro (tiger) compiled with macports.
Thank you in advance
Marco Maggesi
Università degli Studi di Firenze
http://www.math.unifi.it/~maggesi/
--
Marco Maggesi
Università degli Studi di Firenze
http://www.math.unifi.it/~maggesi/