From 5fe9e2c3b3bca260e05064cc6bc4628b58aacd01 Mon Sep 17 00:00:00 2001 From: uz Date: Wed, 1 Aug 2012 21:44:36 +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@5803 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/incpath.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/cc65/incpath.c b/src/cc65/incpath.c index fdbca2a07..8b3596fdd 100644 --- a/src/cc65/incpath.c +++ b/src/cc65/incpath.c @@ -6,7 +6,7 @@ /* */ /* */ /* */ -/* (C) 2000-2010, Ullrich von Bassewitz */ +/* (C) 2000-2012, Ullrich von Bassewitz */ /* Roemerstrasse 52 */ /* D-70794 Filderstadt */ /* EMail: uz@cc65.org */ @@ -71,9 +71,6 @@ void InitIncludePaths (void) SysIncSearchPath = NewSearchPath (); UsrIncSearchPath = NewSearchPath (); - /* Add the current path to the user search path list */ - AddSearchPath (UsrIncSearchPath, ""); - /* Add some compiled in search paths if defined at compile time */ #ifdef CC65_INC AddSearchPath (SysIncSearchPath, CC65_INC); -- 2.39.5