[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-commits] Changes to mldonkey/tools/mld_hash.ml
From: |
mldonkey-commits |
Subject: |
[Mldonkey-commits] Changes to mldonkey/tools/mld_hash.ml |
Date: |
Tue, 18 Oct 2005 04:58:49 -0400 |
Index: mldonkey/tools/mld_hash.ml
diff -u mldonkey/tools/mld_hash.ml:1.3 mldonkey/tools/mld_hash.ml:1.4
--- mldonkey/tools/mld_hash.ml:1.3 Sun Oct 16 20:42:55 2005
+++ mldonkey/tools/mld_hash.ml Tue Oct 18 08:58:49 2005
@@ -288,7 +288,7 @@
try
lprintf "Creating file %s\n" filename;
let file = f filename file_size in
- Unix32.ftruncate64 file file_size;
+ Unix32.ftruncate64 file file_size false;
(*
lprintf "Computing ed2k hash of zeroed file\n";
@@ -426,4 +426,4 @@
sig2dat_hash_filename filename partial;
bitprint_filename filename partial
) (_s " <filenames> : compute hashes of filenames");
- exit 0
\ No newline at end of file
+ exit 0