[#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:61739] [ruby-trunk - Bug #9684] [Closed] Use same error messages in struct.c

From: nobu@...
Date: 2014-03-28 10:32:25 UTC
List: ruby-core #61739
Issue #9684 has been updated by Nobuyoshi Nakada.

Status changed from Feedback to Closed
% Done changed from 0 to 100

Applied in changeset r45462.

----------
struct.c: not_a_member message

* struct.c (not_a_member): extract name error and use same error
  messages.  based on the patch by Marcus Stollsteimer <sto.mar AT
  web.de> at [ruby-core:61721].  [Bug #9684]

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

* Author: Marcus Stollsteimer
* Status: Closed
* 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