Error in the server thread id fix
Eric Pouech
eric.pouech at wanadoo.fr
Thu Feb 13 14:29:56 CST 2003
Bill Medland wrote:
> Is anyone else looking into a problem that appears to have been introduced by
> the server change on Feb 1st changing thread and process ids to small
> integers?
does this help ?
A+
--
Eric Pouech
-------------- next part --------------
Index: server/snapshot.c
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/server/snapshot.c,v
retrieving revision 1.18
diff -u -r1.18 snapshot.c
--- server/snapshot.c 30 Jan 2003 00:26:44 -0000 1.18
+++ server/snapshot.c 13 Feb 2003 20:27:41 -0000
@@ -124,7 +124,7 @@
ptr = &snapshot->processes[snapshot->process_pos++];
reply->count = ptr->count;
reply->pid = get_process_id( ptr->process );
- reply->ppid = get_process_id( ptr->process->parent );
+ reply->ppid = ptr->process->parent ? get_process_id( ptr->process->parent ) : 0;
reply->heap = 0; /* FIXME */
reply->module = 0; /* FIXME */
reply->threads = ptr->threads;
More information about the wine-devel
mailing list