Moved all references to file descriptors out of the generic object
structure.
Changed the poll()-related routines to deal with file descriptors
instead of objects and integrated poll support into fd.c.
diff --git a/server/snapshot.c b/server/snapshot.c
index 8a65ef5..fda8355 100644
--- a/server/snapshot.c
+++ b/server/snapshot.c
@@ -79,7 +79,7 @@
else if (!(process = get_process_from_id( pid ))) return NULL;
}
- if (!(snapshot = alloc_object( &snapshot_ops, -1 )))
+ if (!(snapshot = alloc_object( &snapshot_ops )))
{
if (process) release_object( process );
return NULL;