[Digikam-devel] Re: file hash creation: asking for short test

Andreas Huggel ahuggel at gmx.net
Fri Dec 10 15:28:33 GMT 2010


Marcel,

I always get "success". Even when the hash should be the same in my
understanding:

andreas at mowgli:~/src/exiv2/trunk/src/tmp$ ls -la
total 4052
drwxr-xr-x 2 andreas andreas    4096 10-Dec-10 ./
drwxr-xr-x 6 andreas andreas    8192 10-Dec-10 ../
-rw-r--r-- 1 andreas andreas 2052392 10-Dec-10 d1.jpg
-rw-r--r-- 1 andreas andreas 2052392 10-Dec-10 d2.jpg
-rw-r--r-- 1 andreas andreas    4745 10-Dec-10 e1.jpg
-rw-r--r-- 1 andreas andreas    4745 10-Dec-10 e2.jpg
andreas at mowgli:~/src/exiv2/trunk/src/tmp$ diff d1.jpg d2.jpg
andreas at mowgli:~/src/exiv2/trunk/src/tmp$ diff e1.jpg e2.jpg
andreas at mowgli:~/src/exiv2/trunk/src/tmp$ ~/src/testhash/testhash .
Scanned "." , 4 files and 0 subdirectories
Directory scanning and hash generation took 1.5 ms/file
Success: All 4 files have a different hash.

Andreas



More information about the Digikam-devel mailing list