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-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to