1 --- glibc-2.2.3/elf/ldconfig.c~ Tue Mar 20 11:44:35 2001
2 +++ glibc-2.2.3/elf/ldconfig.c Tue Apr 24 18:14:05 2001
10 + int si = strlen(entry->path) - strlen(MSUBDIR);
11 + if (strcmp (entry->path + (si <= 0 ? 0 : si), MSUBDIR) != 0) {
12 + /* Handle subdirectory later. */
13 + struct dir_entry *new_entry;
15 + new_entry = xmalloc (sizeof (struct dir_entry));
16 + new_entry->path = xmalloc(strlen(entry->path)+strlen(MSUBDIR)+1);
17 + new_entry->flag = entry->flag;
18 + new_entry->next = NULL;
19 + sprintf(new_entry->path, "%s%s", entry->path, MSUBDIR);
21 + printf("Adding implicit multilib directory:\n\t%s\n", new_entry->path);
22 + add_single_dir (new_entry, 0);
29 /* Add one directory to the list of directories to process. */