take current directory out of search path for custom_4coder

This commit is contained in:
Allen Webster 2021-06-01 23:07:16 -07:00
parent 7c229f6ef0
commit df06a352a2
2 changed files with 0 additions and 2 deletions

View File

@ -1869,7 +1869,6 @@ main(int argc, char **argv){
Scratch_Block scratch(&linuxvars.tctx); Scratch_Block scratch(&linuxvars.tctx);
String_Const_u8 default_file_name = string_u8_litexpr("custom_4coder.so"); String_Const_u8 default_file_name = string_u8_litexpr("custom_4coder.so");
List_String_Const_u8 search_list = {}; List_String_Const_u8 search_list = {};
def_search_list_add_system_path(scratch, &search_list, SystemPath_CurrentDirectory);
def_search_list_add_system_path(scratch, &search_list, SystemPath_UserDirectory); def_search_list_add_system_path(scratch, &search_list, SystemPath_UserDirectory);
def_search_list_add_system_path(scratch, &search_list, SystemPath_Binary); def_search_list_add_system_path(scratch, &search_list, SystemPath_Binary);
String_Const_u8 custom_file_names[2] = {}; String_Const_u8 custom_file_names[2] = {};

View File

@ -1830,7 +1830,6 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdS
Scratch_Block scratch(win32vars.tctx); Scratch_Block scratch(win32vars.tctx);
String_Const_u8 default_file_name = string_u8_litexpr("custom_4coder.dll"); String_Const_u8 default_file_name = string_u8_litexpr("custom_4coder.dll");
List_String_Const_u8 search_list = {}; List_String_Const_u8 search_list = {};
def_search_list_add_system_path(scratch, &search_list, SystemPath_CurrentDirectory);
def_search_list_add_system_path(scratch, &search_list, SystemPath_UserDirectory); def_search_list_add_system_path(scratch, &search_list, SystemPath_UserDirectory);
def_search_list_add_system_path(scratch, &search_list, SystemPath_Binary); def_search_list_add_system_path(scratch, &search_list, SystemPath_Binary);