From a7e4e28d9714e19c70fdfa4ad7f9c25e5208f094 Mon Sep 17 00:00:00 2001 From: "jshin@chromium.org" Date: Thu, 14 May 2009 22:42:56 +0000 Subject: Make convert_dict work again by adding AtExitManager in stack in main(). TEST=Build convert_dict and run it with 'en_US' as a cmd line argument where en_US.dic and en_US.aff are present in the same directory. It should create en_US.bdic. Review URL: http://codereview.chromium.org/113414 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16116 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/tools/convert_dict/convert_dict.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome') diff --git a/chrome/tools/convert_dict/convert_dict.cc b/chrome/tools/convert_dict/convert_dict.cc index b67ed19..0053b21 100644 --- a/chrome/tools/convert_dict/convert_dict.cc +++ b/chrome/tools/convert_dict/convert_dict.cc @@ -13,6 +13,7 @@ #include +#include "base/at_exit.h" #include "base/file_util.h" #include "base/icu_util.h" #include "base/logging.h" @@ -77,6 +78,7 @@ int main(int argc, char* argv[]) { if (argc != 2) return PrintHelp(); + base::AtExitManager exit_manager; icu_util::Initialize(); std::string file_base = argv[1]; -- cgit v1.1