Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.gnustep.bug > #4293
| From | Yavor Doganov <INVALID.NOREPLY@gnu.org> |
|---|---|
| Newsgroups | gnu.gnustep.bug |
| Subject | [bug #53080] NSPortMessage msgid is ignored when sending the message |
| Date | 2018-02-06 17:44 -0500 |
| Message-ID | <mailman.8689.1517957100.27995.bug-gnustep@gnu.org> (permalink) |
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/
Back to gnu.gnustep.bug | Previous | Next | Find similar
[bug #53080] NSPortMessage msgid is ignored when sending the message Yavor Doganov <INVALID.NOREPLY@gnu.org> - 2018-02-06 17:44 -0500
csiph-web