posix_mq RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [ANN] posix_mq 2.4.0 - POSIX Message Queues for Ruby
@ 2017-03-20 19:52  5% Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2017-03-20 19:52 UTC (permalink / raw)
  To: ruby-talk, ruby-posix-mq

POSIX message queues allow local processes to exchange data in the form
of messages.  This API is distinct from that provided by System V
message queues, but provides similar functionality.

* https://bogomips.org/ruby_posix_mq/
* ruby-posix-mq@bogomips.org
* git clone git://bogomips.org/ruby_posix_mq.git
* Atom feed: https://bogomips.org/ruby_posix_mq/NEWS.atom.xml
* Mail archives: https://bogomips.org/ruby-posix-mq/
  nntp://news.public-inbox.org/inbox.comp.lang.ruby.posix-mq
* gem install -v 2.4.0 posix_mq

Changes:

    Ruby posix_mq 2.4.0
    
    Most notably there are some FreeBSD fixes.  There are also
    some minor internal cleanups and doc updates.
    
    7 changes since 2.3.0 (2016-02-02):
    
          doc: remove private email address
          doc: update bogomips.org URLs to HTTPS
          set correct condition for setting id_autoclose
          test_posix_mq: get tests passing under FreeBSD 10.3
          TypedData C-API conversion
          freeze internal objects
          build: remove build-time olddoc dependency

^ permalink raw reply	[relevance 5%]

* [PATCH] set correct condition for setting id_autoclose
@ 2017-03-18  7:57  7% Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2017-03-18  7:57 UTC (permalink / raw)
  To: ruby-posix-mq

This bug was noticed under FreeBSD :x
---
 ext/posix_mq/posix_mq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/posix_mq/posix_mq.c b/ext/posix_mq/posix_mq.c
index 0567676..55ec51e 100644
--- a/ext/posix_mq/posix_mq.c
+++ b/ext/posix_mq/posix_mq.c
@@ -1213,11 +1213,11 @@ void Init_posix_mq_ext(void)
 	rb_define_method(cPOSIX_MQ, "autoclose=", setautoclose, 1);
 #ifdef MQD_TO_FD
 	rb_define_method(cPOSIX_MQ, "to_io", to_io, 0);
+	id_setautoclose = rb_intern("autoclose=");
 #endif
 
 #ifdef FD_TO_MQD
 	rb_define_module_function(cPOSIX_MQ, "for_fd", for_fd, 1);
-	id_setautoclose = rb_intern("autoclose=");
 #endif
 
 	id_new = rb_intern("new");
-- 
EW


^ permalink raw reply related	[relevance 7%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2017-03-18  7:57  7% [PATCH] set correct condition for setting id_autoclose Eric Wong
2017-03-20 19:52  5% [ANN] posix_mq 2.4.0 - POSIX Message Queues for Ruby Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/ruby_posix_mq.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).