From df06a352a21f6bde53e42ec14c278fcb78114f8c Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Tue, 1 Jun 2021 23:07:16 -0700 Subject: [PATCH] take current directory out of search path for custom_4coder --- platform_linux/linux_4ed.cpp | 1 - platform_win32/win32_4ed.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/platform_linux/linux_4ed.cpp b/platform_linux/linux_4ed.cpp index 87971231..77b20943 100644 --- a/platform_linux/linux_4ed.cpp +++ b/platform_linux/linux_4ed.cpp @@ -1869,7 +1869,6 @@ main(int argc, char **argv){ Scratch_Block scratch(&linuxvars.tctx); String_Const_u8 default_file_name = string_u8_litexpr("custom_4coder.so"); 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_Binary); String_Const_u8 custom_file_names[2] = {}; diff --git a/platform_win32/win32_4ed.cpp b/platform_win32/win32_4ed.cpp index fb02e4f4..d9bfdcef 100644 --- a/platform_win32/win32_4ed.cpp +++ b/platform_win32/win32_4ed.cpp @@ -1830,7 +1830,6 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdS Scratch_Block scratch(win32vars.tctx); String_Const_u8 default_file_name = string_u8_litexpr("custom_4coder.dll"); 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_Binary);