[#61424] [REJECT?] xmalloc/xfree: reduce atomic ops w/ thread-locals — Eric Wong <normalperson@...>

I'm unsure about this. I _hate_ the extra branches this adds;

13 messages 2014/03/12

[ruby-core:61738] [ruby-trunk - Bug #9684] [Feedback] Use same error messages in struct.c

From: nobu@...
Date: 2014-03-28 06:02:44 UTC
List: ruby-core #61738
Issue #9684 has been updated by Nobuyoshi Nakada.

Status changed from Open to Feedback

Do you have code to raise those exceptions?

----------------------------------------
Bug #9684: Use same error messages in struct.c
https://bugs.ruby-lang.org/issues/9684#change-45978

* Author: Marcus Stollsteimer
* Status: Feedback
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* ruby -v: ruby 2.1.0p0 (2013-12-25 revision 44422) [i686-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
In `struct.c`, use the same error message "`foo' is not a struct member" in

- `rb_struct_getmember` (line 97) and
- `rb_struct_set` (lines 157)


---Files--------------------------------
emsg_struct.patch (366 Bytes)


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

In This Thread

Prev Next