From 148363810be136502673eb901b7ce41b38fff8ab Mon Sep 17 00:00:00 2001 From: uz Date: Wed, 1 Aug 2012 21:42:26 +0000 Subject: [PATCH] Don't add the current directory to the list of search paths. If the main file is located there, it is added anyway. If the main file is located elsewhere, we don't want to search in the current directory. git-svn-id: svn://svn.cc65.org/cc65/trunk@5802 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ca65/incpath.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ca65/incpath.c b/src/ca65/incpath.c index 59749d8d2..b69bf2398 100644 --- a/src/ca65/incpath.c +++ b/src/ca65/incpath.c @@ -71,10 +71,6 @@ void InitIncludePaths (void) IncSearchPath = NewSearchPath (); BinSearchPath = NewSearchPath (); - /* Add the current directory to the search paths */ - AddSearchPath (IncSearchPath, ""); - AddSearchPath (BinSearchPath, ""); - /* Add some compiled in search paths if defined at compile time */ #ifdef CA65_INC AddSearchPath (IncSearchPath, CA65_INC); -- 2.39.5