if --file and the --cache refer to the same file, don't use caching
This commit is contained in:
parent
2010be07f0
commit
e59ba74814
1 changed files with 3 additions and 0 deletions
3
main.cc
3
main.cc
|
|
@ -188,6 +188,9 @@ int parse_and_report(int argc, char * argv[], char * envp[])
|
|||
process_option(config_options, "price-exp", p);
|
||||
#endif
|
||||
|
||||
if (config.data_file == config.cache_file)
|
||||
config.use_cache = false;
|
||||
|
||||
TIMER_STOP(process_opts);
|
||||
|
||||
// Read the command word, canonicalize it to its one letter form,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue