[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonClient.ml
From: |
mldonkey-commits |
Subject: |
[Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonClient.ml |
Date: |
Sun, 29 May 2005 20:08:12 -0400 |
Index: mldonkey/src/daemon/common/commonClient.ml
diff -u mldonkey/src/daemon/common/commonClient.ml:1.13
mldonkey/src/daemon/common/commonClient.ml:1.14
--- mldonkey/src/daemon/common/commonClient.ml:1.13 Fri May 13 21:15:46 2005
+++ mldonkey/src/daemon/common/commonClient.ml Mon May 30 00:08:11 2005
@@ -283,7 +283,17 @@
if not b && impl.impl_client_has_slot then begin
impl.impl_client_has_slot <- false;
uploaders := Intmap.remove (client_num c) !uploaders;
- client_must_update c
+ client_must_update c;
+(*
+TODO
+If an upload slot is closed the previously uploaded file
+is still kept open. There should be a check if other users
+are currently uploading that file, if not close it.
+Until this is coded all files are closed, it does not harm
+the work of the core but avoids locking files which makes
+them unaccessable on Windows.
+*)
+ Unix32.close_all ()
end
else
if b && not impl.impl_client_has_slot then begin
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonClient.ml,
mldonkey-commits <=