diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-05-10 21:14:03 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-05-10 21:14:03 +0900 |
| commit | 1b6827b060d1c2175cb82234de3c7ef4d037f07e (patch) | |
| tree | e2ee8623025d96e4d4e344edb5461194fee8e316 /src/OptionHandlerFactory.cc | |
| parent | c056f747c6a592852ba1e3b7021deefa494b5aa9 (diff) | |
Revert d50021d045df809aa8e6debf1a7e5727dabcd95c
It is safe to use prealloc for default, because of legacy fs (e.g.,
vfat) usage in Android.
Diffstat (limited to 'src/OptionHandlerFactory.cc')
| -rw-r--r-- | src/OptionHandlerFactory.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc index 352407cb..d0740fd6 100644 --- a/src/OptionHandlerFactory.cc +++ b/src/OptionHandlerFactory.cc @@ -376,12 +376,7 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers() OptionHandler* op(new ParameterOptionHandler (PREF_FILE_ALLOCATION, TEXT_FILE_ALLOCATION, -#if defined(__ANDROID__) || defined(ANDROID) - // V_PREALLOC is too slow for Android device - V_TRUNC, -#else // !(defined(__ANDROID__) || defined(ANDROID)) V_PREALLOC, -#endif // !(defined(__ANDROID__) || defined(ANDROID)) std::vector<std::string> (vbegin(params), vend(params)), 'a')); |
