diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-01-11 15:09:33 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-01-11 15:09:53 -0800 |
commit | 9d6c4fa6780585d0a9a2a2a6709dbf9c0ac376ff (patch) | |
tree | e080d3b182d8ec3a9bfc5e8ca6a656f380289e71 /wutil.cpp | |
parent | b66233de786ec1b136c84fb2ec0afcce0e107e00 (diff) |
Make do_builtin_io multi-fork safe, moved it to postfork.cpp
Diffstat (limited to 'wutil.cpp')
-rw-r--r-- | wutil.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -455,15 +455,6 @@ const wchar_t *wgettext(const wchar_t *in) return val->c_str(); } -wcstring wgettext2(const wcstring &in) -{ - wgettext_init_if_necessary(); - std::string mbs_in = wcs2string(in); - char *out = gettext(mbs_in.c_str()); - wcstring result = format_string(L"%s", out); - return result; -} - const wchar_t *wgetenv(const wcstring &name) { ASSERT_IS_MAIN_THREAD(); |