From e4ef590082bdfbc9c5d95feb622d270169bece91 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Thu, 11 Jan 1996 17:44:35 +0000 Subject: [PATCH] from netbsd: Define LD_HINTS_VERSION_2: - no longer hash on minor version number in hints file. - add list of ldconfig(8) search directories. --- src/include/link.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/include/link.h b/src/include/link.h index b5f256a8..799d80ff 100644 --- a/src/include/link.h +++ b/src/include/link.h @@ -1,4 +1,4 @@ -/* $NetBSD: link.h,v 1.9 1995/09/23 22:26:15 pk Exp $ */ +/* $NetBSD: link.h,v 1.10 1996/01/09 00:00:11 pk Exp $ */ /* * Copyright (c) 1993 Paul Kranenburg @@ -254,11 +254,13 @@ struct hints_header { #define HH_MAGIC 011421044151 long hh_version; /* Interface version number */ #define LD_HINTS_VERSION_1 1 +#define LD_HINTS_VERSION_2 2 long hh_hashtab; /* Location of hash table */ long hh_nbucket; /* Number of buckets in hashtab */ long hh_strtab; /* Location of strings */ long hh_strtab_sz; /* Size of strings */ long hh_ehints; /* End of hints (max offset in file) */ + long hh_dirlist; /* Colon-separated list of srch dirs */ }; #define HH_BADMAG(hdr) ((hdr).hh_magic != HH_MAGIC)