[#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:61630] [ruby-trunk - Bug #9661] [Open] CSV Header Conversion Causes NoMethodError For Empty Headers

From: skye.shaw@...
Date: 2014-03-22 00:42:24 UTC
List: ruby-core #61630
Issue #9661 has been reported by s shaw.

----------------------------------------
Bug #9661: CSV Header Conversion Causes NoMethodError For Empty Headers
https://bugs.ruby-lang.org/issues/9661

* Author: s shaw
* Status: Open
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* ruby -v: ruby 2.1.0dev (2013-09-22 trunk 43011) [x86_64-darwin12.4.0]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
Empty headers are parsed and returned as nil. CSV's symbol and downcase header converters call encode() on nil, causing a NoMethodError.

I've created a pull request with the fix: https://github.com/ruby/ruby/pull/575



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

In This Thread

Prev Next