blob: b524049ce1d78b842a1b80310543dd19f1fc144a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--- gcc/cccp.c.orig 1999/08/26 09:26:39 1.1.1.2
+++ gcc/cccp.c 1999/08/27 11:02:42 1.3
@@ -5096,6 +5096,7 @@
register struct file_name_map *map;
register char *from;
+#ifndef FREEBSD_NATIVE
if (searchptr)
{
if (! searchptr->got_name_map)
@@ -5110,6 +5111,7 @@
if (! strcmp (map->map_from, from))
return map->map_to;
}
+#endif
from = base_name (filename);
@@ -5124,9 +5126,11 @@
bcopy (filename, dir, from - filename);
dir[from - filename] = '\0';
+#ifndef FREEBSD_NATIVE
for (map = read_name_map (dir); map; map = map->map_next)
if (! strcmp (map->map_from, from))
return map->map_to;
+#endif
}
return filename;
|