}
}
+static void
+init_included_files_table(void)
+{
+ // (This function may be called multiple times if several -arch options are
+ // used.)
+ if (!included_files) {
+ included_files = create_hashtable(1000, hash_from_string, strings_equal);
+ }
+}
+
// This function reads and hashes a file. While doing this, it also does these
// things:
//
free(p);
}
- if (!included_files) {
- included_files = create_hashtable(1000, hash_from_string, strings_equal);
- }
+ init_included_files_table();
char *cwd = gnu_getcwd();
return NULL;
}
- if (!included_files) {
- included_files = create_hashtable(1000, hash_from_string, strings_equal);
- }
+ init_included_files_table();
char buf[10000];
while (fgets(buf, sizeof(buf), f) && !ferror(f)) {