git://git.onelab.eu
/
vsys.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The previous tag (0.9-2) doesn't build. This one is tested to build and install ...
[vsys.git]
/
fdwatcher.ml
diff --git
a/fdwatcher.ml
b/fdwatcher.ml
index
95d4be4
..
6c30b08
100644
(file)
--- a/
fdwatcher.ml
+++ b/
fdwatcher.ml
@@
-14,8
+14,7
@@
let add_fd (evpair:fname_and_fd) (fd_other:fname_and_fd) (callback:fname_and_fd-
Hashtbl.replace cbtable fd (callback,(evpair,fd_other))
let del_fd fd =
Hashtbl.replace cbtable fd (callback,(evpair,fd_other))
let del_fd fd =
- fdset:=List.filter (fun l->l<>fd) !fdset;
- flush logfd
+ fdset:=List.filter (fun l->l<>fd) !fdset
let start_watch () =
while (true)
let start_watch () =
while (true)
@@
-30,6
+29,6
@@
let start_watch () =
func evd fd_other
with e->
let wtf = Printexc.to_string e in
func evd fd_other
with e->
let wtf = Printexc.to_string e in
-
fprintf logfd
"%s\n" wtf
+
logprint
"%s\n" wtf
) fds
done
) fds
done