From: uz Date: Wed, 1 Aug 2012 21:42:26 +0000 (+0000) Subject: Don't add the current directory to the list of search paths. If the main file X-Git-Tag: V2.14~270 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=148363810be136502673eb901b7ce41b38fff8ab;p=cc65 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 --- 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);