ldconfig.c (09e3d49d92388785abc5a92944fa0640e351a5f4) | ldconfig.c (91b1841dd26d3279c6a127256c47d6f0066b7c13) |
---|---|
1/* 2 * Copyright (c) 1993 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 --- 13 unchanged lines hidden (view full) --- 22 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 23 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 24 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 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 * | 1/* 2 * Copyright (c) 1993 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 --- 13 unchanged lines hidden (view full) --- 22 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 23 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 24 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 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 * $Id: ldconfig.c,v 1.4 1993/12/02 01:03:16 jkh Exp $ | 30 * $Id: ldconfig.c,v 1.5 1994/02/13 20:42:30 jkh Exp $ |
31 */ 32 33#include <sys/param.h> 34#include <stdio.h> 35#include <stdlib.h> 36#include <sys/types.h> 37#include <sys/stat.h> 38#include <sys/file.h> --- 57 unchanged lines hidden (view full) --- 96 break; 97 case 's': 98 nostd = 1; 99 break; 100 case 'r': 101 justread = 1; 102 break; 103 default: | 31 */ 32 33#include <sys/param.h> 34#include <stdio.h> 35#include <stdlib.h> 36#include <sys/types.h> 37#include <sys/stat.h> 38#include <sys/file.h> --- 57 unchanged lines hidden (view full) --- 96 break; 97 case 's': 98 nostd = 1; 99 break; 100 case 'r': 101 justread = 1; 102 break; 103 default: |
104 fprintf(stderr, "Usage: %s [-v] [dir ...]\n", progname); | 104 fprintf(stderr, "Usage: %s [-r] [-s] [-v] [dir ...]\n", progname); |
105 exit(1); 106 break; 107 } 108 } 109 110 if (justread) 111 return listhints(); 112 --- 314 unchanged lines hidden --- | 105 exit(1); 106 break; 107 } 108 } 109 110 if (justread) 111 return listhints(); 112 --- 314 unchanged lines hidden --- |