* nscd/nscd.h (struct database_dyn): Change filename to an array

to avoid relocations.
This commit is contained in:
Ulrich Drepper 2006-04-30 16:39:16 +00:00
parent 34e212784c
commit eaa27aca6f
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2006-04-30 Ulrich Drepper <drepper@redhat.com> 2006-04-30 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd.h (struct database_dyn): Change filename to an array
to avoid relocations.
* elf/ldd.bash.in: If --verify loop fails to find a dynamic linker * elf/ldd.bash.in: If --verify loop fails to find a dynamic linker
for the file don't just try the first one listed in RTLDLIST for the file don't just try the first one listed in RTLDLIST
again. We already have the status. again. We already have the status.

View File

@ -64,11 +64,11 @@ struct database_dyn
int persistent; int persistent;
int shared; int shared;
int propagate; int propagate;
size_t max_db_size; const char filename[12];
const char *filename;
const char *db_filename; const char *db_filename;
time_t file_mtime; time_t file_mtime;
size_t suggested_module; size_t suggested_module;
size_t max_db_size;
unsigned long int postimeout; /* In seconds. */ unsigned long int postimeout; /* In seconds. */
unsigned long int negtimeout; /* In seconds. */ unsigned long int negtimeout; /* In seconds. */