ldconfig.c (cfa4d7398872119c6b9f480bc86a0ada6f0bb8ec) | ldconfig.c (65a74e454ede53565c78abaa19a233f2b3e2628a) |
---|---|
1/* 2 * Copyright (c) 1993,1995 Paul Kranenburg 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31#ifndef lint 32static const char rcsid[] = | 1/* 2 * Copyright (c) 1993,1995 Paul Kranenburg 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31#ifndef lint 32static const char rcsid[] = |
33 "$Id: ldconfig.c,v 1.27 1998/09/06 20:43:25 jdp Exp $"; | 33 "$Id: ldconfig.c,v 1.28 1998/09/09 01:21:24 jdp Exp $"; |
34#endif /* not lint */ 35 36#include <sys/param.h> 37#include <sys/types.h> 38#include <sys/stat.h> 39#include <sys/mman.h> 40#include <a.out.h> 41#include <ctype.h> --- 160 unchanged lines hidden (view full) --- 202 203 return rval; 204} 205 206static void 207usage() 208{ 209 fprintf(stderr, | 34#endif /* not lint */ 35 36#include <sys/param.h> 37#include <sys/types.h> 38#include <sys/stat.h> 39#include <sys/mman.h> 40#include <a.out.h> 41#include <ctype.h> --- 160 unchanged lines hidden (view full) --- 202 203 return rval; 204} 205 206static void 207usage() 208{ 209 fprintf(stderr, |
210 "usage: ldconfig [-Rmrsv] [-f hints_file] [dir | file ...]\n"); | 210 "usage: ldconfig [-aout | -elf] [-Rmrsv] [-f hints_file] [dir | file ...]\n"); |
211 exit(1); 212} 213 214int 215dofile(fname, silent) 216char *fname; 217int silent; 218{ --- 400 unchanged lines hidden --- | 211 exit(1); 212} 213 214int 215dofile(fname, silent) 216char *fname; 217int silent; 218{ --- 400 unchanged lines hidden --- |