bugGNUstep - Bugs: bug #53080, NSPortMessage msgid is ignored...

Group
 
 

bug #53080: NSPortMessage msgid is ignored when sending the message

Submitter:  Yavor Doganov <yavor>
Submitted:  Tue 06 Feb 2018 10:44:50 PM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 07 Feb 2018 07:04:17 AM UTC, comment #1: 

Thanks a lot ... patch applied.

Richard Frith-Macdonald <CaS>
Group Member
Tue 06 Feb 2018 10:44:50 PM UTC, original submission:  

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.)

Yavor Doganov <yavor>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #43196:  msgid.patch added by yavor (1KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by yavor (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-02-07 CaS StatusNone Fixed
        Open/ClosedOpen Closed
    2018-02-06 yavor Attached File- Added msgid.patch, #43196

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code