util.c: Avoid unnecessary setlocale() calls
authorKarl Williamson <public@khwilliamson.com>
Thu, 20 Jun 2013 18:28:12 +0000 (12:28 -0600)
committerKarl Williamson <public@khwilliamson.com>
Sun, 7 Jul 2013 19:29:44 +0000 (13:29 -0600)
commit01ec34b5d8c7075801bdb8ca8364cbe2027147dd
tree7730b5a5e2b26702a7b8da0301cd41c32370ce6f
parent28acfe03fc59abea4ef2451b134d560f411183ab
util.c: Avoid unnecessary setlocale() calls

This code sets the locale to C around its work.  This is unnecessary if
the locale is already C, and there is an existing global that indicates
this, that can be tested to avoid the sets.
util.c