do not add searchpath stuff into parse_headername
authorMatthias Braun <matze@braunis.de>
Tue, 19 Jul 2011 10:29:27 +0000 (12:29 +0200)
committerMatthias Braun <matze@braunis.de>
Tue, 9 Aug 2011 18:19:26 +0000 (20:19 +0200)
preprocessor.c

index c2fdfa2..5b0ca55 100644 (file)
@@ -1450,10 +1450,6 @@ static const char *parse_headername(void)
        /* check wether we have a "... or <... headername */
        switch (input.c) {
        case '<':
-               /* for now until we have proper searchpath handling */
-               obstack_1grow(&input_obstack, '.');
-               obstack_1grow(&input_obstack, '/');
-
                next_char();
                while (true) {
                        switch (input.c) {
@@ -1473,10 +1469,6 @@ static const char *parse_headername(void)
                /* we should never be here */
 
        case '"':
-               /* for now until we have proper searchpath handling */
-               obstack_1grow(&input_obstack, '.');
-               obstack_1grow(&input_obstack, '/');
-
                next_char();
                while (true) {
                        switch (input.c) {