Avoid potential bugs with setlocale's return value.
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 22 Mar 2009 04:19:12 +0000 (13:19 +0900)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 22 Mar 2009 04:19:12 +0000 (13:19 +0900)
commit28ced40c7ddd248b5d64b7b5272fb17b6e97b13a
tree70de7ed5b8c57a7fc7fe804a88d0cfdbf9a917fa
parent275fecdac3c7104f1095ec940cb1e2a6113872cd
Avoid potential bugs with setlocale's return value.

Use strdup to copy all return values from setlocale,
since it's statically allocated.
src/libpspp/i18n.c