On Mon, Jan 18, 2010 at 6:35 PM, Reinhard Kotucha
<[email protected]>wrote:
>
> If I can evaluate, for instance, luatex.datestamp, I can enable MD5
> checks in my script on sytems where it works.  That would be nice.
>

How about

if (md5.sumhexa("abcdefghijklmnopqrstuvwxyz") ==
"c3fcd3d76192e4007dfb496cca67e13b") then
  -- md5 works... do what you want
 else
   -- fallback for md5 not working
end

This way, you also protect yourself from bugs in the future versions of
luatex :-)

Aditya
_______________________________________________
dev-luatex mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/dev-luatex

Reply via email to