[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #38981] NSMessagePortNameServer initialize method doesn't remove ob
From: |
Michael Silva |
Subject: |
[bug #38981] NSMessagePortNameServer initialize method doesn't remove obsolete name references |
Date: |
Mon, 13 May 2013 21:08:52 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17 |
URL:
<http://savannah.gnu.org/bugs/?38981>
Summary: NSMessagePortNameServer initialize method doesn't
remove obsolete name references
Project: GNUstep
Submitted by: msilvax28
Submitted on: Mon 13 May 2013 09:08:51 PM GMT
Category: Base/Foundation
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
The logic in the +initialize method has logic that tries to remove old names.
It tries to remove names assigned to the current pid and tries to see if other
pids that have names are now dead.
The logic as implemented removes no names, as it assumes the beginning of the
first line of the name file is the PID (with a . suffix).
However, the name files have this format:
<path to 'port' in file system>\n
<owner pid>\n
for example:
/tmp/GNUstepSecure1000/NSMessagePort/ports/10280.4
10280
I have code that I think fixes it, but I don't know enough about GNUstep to be
sure.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38981>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #38981] NSMessagePortNameServer initialize method doesn't remove obsolete name references,
Michael Silva <=