Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.gnustep.bug > #4293 > unrolled thread

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

Started byYavor Doganov <INVALID.NOREPLY@gnu.org>
First post2018-02-06 17:44 -0500
Last post2018-02-06 17:44 -0500
Articles 1 — 1 participant

Back to article view | Back to gnu.gnustep.bug


Contents

  [bug #53080] NSPortMessage msgid is ignored when sending the message Yavor Doganov <INVALID.NOREPLY@gnu.org> - 2018-02-06 17:44 -0500

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

FromYavor Doganov <INVALID.NOREPLY@gnu.org>
Date2018-02-06 17:44 -0500
Subject[bug #53080] NSPortMessage msgid is ignored when sending the message
Message-ID<mailman.8689.1517957100.27995.bug-gnustep@gnu.org>
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/

[toc] | [standalone]


Back to top | Article view | gnu.gnustep.bug


csiph-web