Passing a bug fix upstream to bsd-port

Greg Lewis glewis at eyesbeyond.com
Sun Mar 8 21:53:17 PDT 2009


G'day Brian,

On Wed, Mar 04, 2009 at 03:32:25PM -0800, Brian Gardner wrote:
> I've found what I believe to be a core bug withen the Locale generation 
> in my openjdk6 patch that is also a bug in bsd-port.  The problem that 
> led me to this bug was with the Currency formatting.  Even though I was 
> defining my locale to be en_US, currency was being formated as USD 
> instead of $.  The problem lied in jdk/make/java/java/genlocales.gmk, 
> where is was using $(substr with a '\n'.  It was supposed to get 
> interpreted as a newline character, but instead was getting interpreted 
> as two chars, the \ followed by n.  Attached are the test case I used to 
> verify the problem was fixed, and the patch to genlocales.gmk.  I would 
> imagine there were other locality issues, other than my test case, that 
> this will fix.

I see what you mean.  Thanks for the patch!  I'll give it a try and get
it committed.

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org



More information about the bsd-port-dev mailing list