bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #53080] NSPortMessage msgid is ignored when sending the message


From: Yavor Doganov
Subject: [bug #53080] NSPortMessage msgid is ignored when sending the message
Date: Tue, 6 Feb 2018 17:44:52 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.119 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?53080>

                 Summary: NSPortMessage msgid is ignored when sending the
message
                 Project: GNUstep
            Submitted by: yavor
            Submitted on: Wed 07 Feb 2018 12:44:50 AM EET
                Category: Base/Foundation
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

While porting Lynkeos I noticed that the value of the NSPortMessage _msgid
ivar is ignored when the message is being sent.  The current Base behavior is
raising an exception in Lynkeos because its -handlePortMessage: implementation
expects messages to have certain msgids while all messages are sent with msgid
0, despite the fact that -setMsgid: is sent on the newly created instances to
set a different msgid.

The attached trivial patch fixes it for me.  (BTW, this ivar is declared as
unsigned while the NSPort method expects NSInteger.)



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 07 Feb 2018 12:44:50 AM EET  Name: msgid.patch  Size: 1KiB   By:
yavor

<http://savannah.gnu.org/bugs/download.php?file_id=43196>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53080>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]