From 8c432240e883d2d3b0707d2d0f4a3ca06251aa7b 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. --- include/link.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/link.h b/include/link.h index b5f256a8019..799d80ffc4d 100644 --- a/include/link.h +++ b/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) -- 2.20.1