scsh-users
[Top] [All Lists]

Re: md5-digest-for-FILE

To: scsh-users@scsh.net
Subject: Re: md5-digest-for-FILE
From: Emilio Lopes <eclig@gmx.net>
Date: Sun, 19 Nov 2006 17:20:15 +0100
Cancel-lock: sha1:S7SGOJdQKnCmBI7A6I7lXyzekT4=
List-id: <scsh-users.list-id.scsh.net>
Organization: The Church of Emacs
Sender: news <news@sea.gmane.org>
Marco Maggesi writes:

>   $ 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?

Works for me with Scsh 0.6.7 on GNU/Linux:

   % ll emptyfile
   -rw-r--r--  1 ecl ecl 0 Nov 19 17:17 emptyfile
   % scsh
   Welcome to scsh 0.6.7 (R6RS)
   Type ,? for help.
   > (call-with-input-file "emptyfile" md5-digest-for-port)
   '#{Md5-digest}
   >  

But I guess this doesn't help you much.  Sorry...

-- 
Emílio C. Lopes
Munich, Germany

<Prev in Thread] Current Thread [Next in Thread>