[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-commits] Changes to mldonkey/src/config/unix/os_stubs_c.c
From: |
mldonkey-commits |
Subject: |
[Mldonkey-commits] Changes to mldonkey/src/config/unix/os_stubs_c.c |
Date: |
Fri, 02 Sep 2005 18:40:00 -0400 |
Index: mldonkey/src/config/unix/os_stubs_c.c
diff -u mldonkey/src/config/unix/os_stubs_c.c:1.9
mldonkey/src/config/unix/os_stubs_c.c:1.10
--- mldonkey/src/config/unix/os_stubs_c.c:1.9 Sun Aug 28 10:47:39 2005
+++ mldonkey/src/config/unix/os_stubs_c.c Fri Sep 2 22:39:59 2005
@@ -62,7 +62,9 @@
return result;
}
-void os_ftruncate(OS_FD fd, OFF_T len)
+
+// TODO: write whole file if sparse disabled
+void os_ftruncate(OS_FD fd, OFF_T len, /* bool */ int sparse)
{
int64 cursize;
if(!fd) failwith("ftruncate32: file is closed");
- [Mldonkey-commits] Changes to mldonkey/src/config/unix/os_stubs_c.c,
mldonkey-commits <=