On Mon, Dec 21, 2009 at 11:25:52PM +0100, Reinhard Kotucha wrote:
I wrote a tiny program which calculates the checksum of a file. It should provide the the same result as md5sum(1), but it doesn't.
$ ./md5sum.tlu md5sum.tlu 737d8815930c35e7d112374765dbe01f md5sum.tlu $ md5sum md5sum.tlu bdab3aa02a33eb91a9e0c1001954a413 md5sum.tlu
This is quite strange, I would expect the same result.
$ texlua --version
This is LuaTeX, Version beta-0.40.6-2009100220 (TeX Live 2009) ...
$ texlua md5sum.tlu md5sum.tlu
bdab3aa02a33eb91a9e0c1001954a413 md5sum.tlu
$ /t/context/tex/texmf-linux/bin/texlua --version
This is LuaTeX, Version beta-0.47.0-2009121922
...
$ /t/context/tex/texmf-linux/bin/texlua md5sum.tlu md5sum.tlu
bdab3aa02a33eb91a9e0c1001954a413 md5sum.tlu
Linux/32Bit
Same with win32, beta-0.47.
Yours sincerely
Heiko