]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* nscd/nscd.h (struct database_dyn): Change filename to an array
authorUlrich Drepper <drepper@redhat.com>
Sun, 30 Apr 2006 16:39:16 +0000 (16:39 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 30 Apr 2006 16:39:16 +0000 (16:39 +0000)
to avoid relocations.

ChangeLog
nscd/nscd.h

index 502b3fadf4ccfbf6e82a656afa70ac701c952674..dfb4bd188d612de0ed523e70763fe162e8ddc961 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 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
        for the file don't just try the first one listed in RTLDLIST
        again.  We already have the status.
index f826c7ada49c8ab4234251b97b94757e73f92d6d..8b95630807c4b3de5c0be8419b471599b313e4b6 100644 (file)
@@ -64,11 +64,11 @@ struct database_dyn
   int persistent;
   int shared;
   int propagate;
-  size_t max_db_size;
-  const char *filename;
+  const char filename[12];
   const char *db_filename;
   time_t file_mtime;
   size_t suggested_module;
+  size_t max_db_size;
 
   unsigned long int postimeout;        /* In seconds.  */
   unsigned long int negtimeout;        /* In seconds.  */