ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:80692] [Ruby trunk Bug#13439] [PATCH] fix RSTRUCT_LEN macro in public C API
       [not found] <redmine.issue-13439.20170415003447@ruby-lang.org>
@ 2017-04-15  0:34 ` normalperson
  2017-05-09 15:30 ` [ruby-core:81073] " nagachika00
  1 sibling, 0 replies; 2+ messages in thread
From: normalperson @ 2017-04-15  0:34 UTC (permalink / raw
  To: ruby-core

Issue #13439 has been reported by normalperson (Eric Wong).

----------------------------------------
Bug #13439: [PATCH] fix RSTRUCT_LEN macro in public C API
https://bugs.ruby-lang.org/issues/13439

* Author: normalperson (Eric Wong)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: REQUIRED
----------------------------------------
rb_struct_size returns an Integer VALUE, so it must be converted
to a `long` for compatibility with previous Ruby C API versions.

* ext/-test-/struct/len.c: new
* test/-ext-/struct/test_len.rb: new
* include/ruby/ruby.h (RSTRUCT_LEN): use NUM2LONG


---Files--------------------------------
0001-fix-RSTRUCT_LEN-macro-in-public-C-API.patch (2.16 KB)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ruby-core:81073] [Ruby trunk Bug#13439] [PATCH] fix RSTRUCT_LEN macro in public C API
       [not found] <redmine.issue-13439.20170415003447@ruby-lang.org>
  2017-04-15  0:34 ` [ruby-core:80692] [Ruby trunk Bug#13439] [PATCH] fix RSTRUCT_LEN macro in public C API normalperson
@ 2017-05-09 15:30 ` nagachika00
  1 sibling, 0 replies; 2+ messages in thread
From: nagachika00 @ 2017-05-09 15:30 UTC (permalink / raw
  To: ruby-core

Issue #13439 has been updated by nagachika (Tomoyuki Chikanaga).

Backport changed from 2.2: DONTNEED, 2.3: DONTNEED, 2.4: REQUIRED to 2.2: DONTNEED, 2.3: DONTNEED, 2.4: DONE

ruby_2_4 r58636 merged revision(s) 58359.

----------------------------------------
Bug #13439: [PATCH] fix RSTRUCT_LEN macro in public C API
https://bugs.ruby-lang.org/issues/13439#change-64724

* Author: normalperson (Eric Wong)
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.2: DONTNEED, 2.3: DONTNEED, 2.4: DONE
----------------------------------------
rb_struct_size returns an Integer VALUE, so it must be converted
to a `long` for compatibility with previous Ruby C API versions.

* ext/-test-/struct/len.c: new
* test/-ext-/struct/test_len.rb: new
* include/ruby/ruby.h (RSTRUCT_LEN): use NUM2LONG


---Files--------------------------------
0001-fix-RSTRUCT_LEN-macro-in-public-C-API.patch (2.16 KB)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-09 14:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-13439.20170415003447@ruby-lang.org>
2017-04-15  0:34 ` [ruby-core:80692] [Ruby trunk Bug#13439] [PATCH] fix RSTRUCT_LEN macro in public C API normalperson
2017-05-09 15:30 ` [ruby-core:81073] " nagachika00

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