diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-05-18 22:59:46 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-05-18 22:59:46 +0900 |
| commit | 949a580a14cd3afcdf9904acd1d32397c344dd28 (patch) | |
| tree | eefafd27a0d683902faf65b6dd4ca1427bc99218 /src/option_processing.cc | |
| parent | 1603d8ea7bb0074f8e268f37bc941fa5dffba067 (diff) | |
mingw32: Gain privilege before opening files
Diffstat (limited to 'src/option_processing.cc')
| -rw-r--r-- | src/option_processing.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/option_processing.cc b/src/option_processing.cc index f6b12358..652a3bd3 100644 --- a/src/option_processing.cc +++ b/src/option_processing.cc @@ -341,16 +341,6 @@ error_code::Value option_processing(Option& op, bool standalone, op.remove(PREF_DEFERRED_INPUT); } -#ifdef __MINGW32__ - if (op.get(PREF_FILE_ALLOCATION) == V_FALLOC) { - A2_LOG_WARN( - "--file-allocation=falloc will use SetFileValidData() API, and " - "aria2 uses uninitialized disk space which may contain " - "confidential data as the download file space. If it is " - "undesirable, --file-allocation=prealloc is slower, but safer option."); - } -#endif // __MINGW32__ - return error_code::FINISHED; } |
