From owner-freebsd-i18n@FreeBSD.ORG Wed Feb 27 21:32:11 2013 Return-Path: Delivered-To: freebsd-i18n@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3E442E4D for ; Wed, 27 Feb 2013 21:32:11 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) by mx1.freebsd.org (Postfix) with ESMTP id 23D4B144 for ; Wed, 27 Feb 2013 21:32:07 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id r1RLW13O008631 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 27 Feb 2013 13:32:01 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id r1RLW1lY008630 for freebsd-i18n@FreeBSD.org; Wed, 27 Feb 2013 13:32:01 -0800 (PST) (envelope-from jmg) Date: Wed, 27 Feb 2013 13:32:00 -0800 From: John-Mark Gurney To: freebsd-i18n@FreeBSD.org Subject: patch for in tree iconv Message-ID: <20130227213200.GB55866@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Wed, 27 Feb 2013 13:32:01 -0800 (PST) X-BeenThere: freebsd-i18n@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD Internationalization Effort List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2013 21:32:11 -0000 I've worked at fixing a few of iconv's locking issues, and I've attached this patch. This should fix most/all of the locking related issues relating to the global lock... Though I ran the tests in tools/test/iconv, and it looks like the checked in reference conversion in ref are wrong... The UTF-32 -> ASCII map (ref/ASCII-rev) has: 0x00A3 = 0x626C 0x00A5 = 0x6E6579 I'm pretty sure 0x626C and 0x6E6579 are not valid ASCII characters.. :) w/ my updates, they are properly(?) mapped to 0x3F... I'm not sure what they were w/o my changes... I already committed a fixed for an issue w/ svn keywords in tablegen/cmp.sh... Hence, why I'm able to run the tests.. Comments? Please CC me, I'm not on the list.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."