Menu

#18 (filelen % 9728000) == 0 fails

open
5
2006-05-18
2006-05-18
Anonymous
No

I have no time to describe. Corrected file attached.
version - 0.3.3
Just remember that "this case shouldn't happen" is not
correct answer. Every case would happen in
programming :-).

Discussion

  • Nobody/Anonymous

    File with corrected error

     
  • Aleksey

    Aleksey - 2008-06-27

    Logged In: YES
    user_id=1883468
    Originator: NO

    Here are the steps to reproduce:

    $ awk 'BEGIN{ for(i=0; i<9728000; i++) { printf("%c", i%256) } }' > 9728000.dat
    $ ed2k_hash 9728000.dat
    ERROR:while processing file '9728000.dat

    As a workaround you can use utility
    rhash -L <file>
    from http://sourceforge.net/projects/rhash

     

Log in to post a comment.

MongoDB Logo MongoDB