summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc/cpp
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1995-03-05 20:34:41 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1995-03-05 20:34:41 +0000
commitfcb2469be6a4e073544d63ff8612028c79db0832 (patch)
tree616df01ab2bf423177c6b43d555403452324544f /gnu/usr.bin/cc/cpp
parent0f48de1c303e00d57c0b004226de4cbe012bb13f (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/cc/cpp')
-rw-r--r--gnu/usr.bin/cc/cpp/cccp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/cpp/cccp.c b/gnu/usr.bin/cc/cpp/cccp.c
index 609249ba63b7..5486eb0726bb 100644
--- a/gnu/usr.bin/cc/cpp/cccp.c
+++ b/gnu/usr.bin/cc/cpp/cccp.c
@@ -4651,6 +4651,7 @@ open_include_file (filename, searchptr)
register char *from;
char *p, *dir;
+#if 0
if (searchptr && ! searchptr->got_name_map)
{
searchptr->name_map = read_name_map (searchptr->fname
@@ -4673,7 +4674,7 @@ open_include_file (filename, searchptr)
}
}
}
-
+#endif
/* Try to find a mapping file for the particular directory we are
looking in. Thus #include <sys/types.h> will look up sys/types.h
in /usr/include/header.gcc and look up types.h in
@@ -4702,9 +4703,11 @@ open_include_file (filename, searchptr)
dir[p - filename] = '\0';
from = p + 1;
}
+#if 0
for (map = read_name_map (dir); map; map = map->map_next)
if (! strcmp (map->map_from, from))
return open (map->map_to, O_RDONLY, 0666);
+#endif
return open (filename, O_RDONLY, 0666);
}