comparison bin/cek.rb @ 322:799d3bd1bfa1

Even more merges >_>
author Edho Arief <edho@myconan.net>
date Sun, 18 Mar 2012 13:16:54 +0700
parents 72c299437fde
children 324c5842af87
comparison
equal deleted inserted replaced
312:110d50856dde 322:799d3bd1bfa1
8 currentbyte = 0 8 currentbyte = 0
9 while (line = file.read(block)) do 9 while (line = file.read(block)) do
10 crc = Zlib.crc32(line,crc) 10 crc = Zlib.crc32(line,crc)
11 end 11 end
12 file.close 12 file.close
13 printf("%s %08X\n", filename, crc.to_s) 13 printf("%s %08X\n", filename, crc.to_i)
14 end 14 end