Patch level : 10.0
Files correlati : 77?mod.exe Ricompilazione Demo : [ ] Commento : Corretto controllo autorizzazioni per programmi del 770 aventi un nome poco standard. git-svn-id: svn://10.65.10.50/branches/R_10_00@21642 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
4913270804
commit
f57b9ca900
@ -1193,7 +1193,7 @@ bool Tdninst::can_I_run(const bool is_personal_program) const
|
||||
if (cmdline.starts_with("ba", true) || cmdline.ends_with("cnv", true))
|
||||
return true;
|
||||
|
||||
const bool me = is_personal_program || cmdline.len()>3;
|
||||
const bool me = is_personal_program || (cmdline.len()>3 && !cmdline.ends_with("mod", true));
|
||||
const char* option = main_app().argc() > 1 ? main_app().argv(1) : "";
|
||||
if (*option == '-' && isdigit(*(option+1)))
|
||||
cmdline << ' ' << option;
|
||||
|
Loading…
x
Reference in New Issue
Block a user