kgio 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] kgio 2.11.2 - legacy I/O for legacy Ruby + Unix
  @ 2018-01-30 21:15  4% ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2018-01-30 21:15 UTC (permalink / raw)
  To: kgio-public, ruby-talk; +Cc: Claudio Poli, rainbows-public

This is a legacy project, do not use it for new projects.  Ruby
2.3 and later should make this obsolete.  kgio provides
non-blocking I/O methods for Ruby without raising exceptions on
EAGAIN and EINPROGRESS.

Note: I do not recommend using kgio for future applications, Ruby 2.x
has a lot of the functionality of kgio and Ruby 2.3+ has even more.

* homepage: https://bogomips.org/kgio/
* public mailing list: kgio-public@bogomips.org
* git clone git://bogomips.org/kgio.git
* Atom feed https://bogomips.org/kgio/NEWS.atom.xml
* mailing list archives: https://bogomips.org/kgio-public/

Changes:

  kgio 2.11.2 - fix Ruby 2.5 compatibility for accept_class

  This release fixes a bug affecting the Rainbows! web server
  which uses Kgio.accept_class:

  https://bogomips.org/rainbows-public/CANp6QoJXRbPLqmOPpG7XmZBc+oYqLWCcq1ipvOyNEQPXDEwx9Q@mail.gmail.com/

  * accept: avoid passing unnecessary arg to rb_funcall

Again, using kgio for new projects is strongly discouraged.
Use Ruby 2.3+ instead.

^ permalink raw reply	[relevance 4%]

* [PATCH] accept: avoid passing unnecessary arg to rb_funcall
@ 2018-01-19 17:03  7% Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2018-01-19 17:03 UTC (permalink / raw)
  To: kgio-public

Followup-to commit aa1da2e47c69302f9bdb2ab4990e81d87bbcaf1f
("wait: avoid passing unnecessary args to rb_funcall")
---
 ext/kgio/accept.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/kgio/accept.c b/ext/kgio/accept.c
index c847c92..f1de39d 100644
--- a/ext/kgio/accept.c
+++ b/ext/kgio/accept.c
@@ -40,7 +40,7 @@ static VALUE set_accepted(VALUE klass, VALUE aclass)
 	if (NIL_P(aclass))
 		aclass = cKgio_Socket;
 
-	tmp = rb_funcall(aclass, rb_intern("included_modules"), 0, 0);
+	tmp = rb_funcall(aclass, rb_intern("included_modules"), 0);
 	tmp = rb_funcall(tmp, rb_intern("include?"), 1, mSocketMethods);
 
 	if (tmp != Qtrue)
-- 
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-12-15 20:03     [ANN] kgio 2.11.1 - legacy I/O for legacy Ruby + Unix Eric Wong
2018-01-30 21:15  4% ` [ANN] kgio 2.11.2 " Eric Wong
2018-01-19 17:03  7% [PATCH] accept: avoid passing unnecessary arg to rb_funcall Eric Wong

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

	https://yhbt.net/kgio.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).