svn commit: samba r18066 - in branches/SAMBA_3_0/source/lib: .
vlendec at samba.org
vlendec at samba.org
Tue Sep 5 07:43:49 GMT 2006
Author: vlendec
Date: 2006-09-05 07:43:49 +0000 (Tue, 05 Sep 2006)
New Revision: 18066
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18066
Log:
It's a bit pointless to send ourselves a signal just to check if we exist :-)
Volker
Modified:
branches/SAMBA_3_0/source/lib/util.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/util.c
===================================================================
--- branches/SAMBA_3_0/source/lib/util.c 2006-09-05 06:57:13 UTC (rev 18065)
+++ branches/SAMBA_3_0/source/lib/util.c 2006-09-05 07:43:49 UTC (rev 18066)
@@ -1474,6 +1474,10 @@
BOOL process_exists(const struct process_id pid)
{
+ if (procid_is_me(&pid)) {
+ return True;
+ }
+
if (!procid_is_local(&pid)) {
/* This *SEVERELY* needs fixing. */
return True;
More information about the samba-cvs
mailing list