|
1 |
|
2 /* ********************************************** |
|
3 * * |
|
4 * header file file descriptor (FD) code * |
|
5 * * |
|
6 * James Peterson, 1987 * |
|
7 * Copyright (C) 1987 MCC |
|
8 * |
|
9 * Permission to use, copy, modify, distribute, and sell this software and its |
|
10 * documentation for any purpose is hereby granted without fee, provided that |
|
11 * the above copyright notice appear in all copies and that both that |
|
12 * copyright notice and this permission notice appear in supporting |
|
13 * documentation, and that the name of MCC not be used in |
|
14 * advertising or publicity pertaining to distribution of the software without |
|
15 * specific, written prior permission. MCC makes no |
|
16 * representations about the suitability of this software for any purpose. It |
|
17 * is provided "as is" without express or implied warranty. |
|
18 * |
|
19 * MCC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
|
20 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO |
|
21 * EVENT SHALL MCC BE LIABLE FOR ANY SPECIAL, INDIRECT OR |
|
22 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, |
|
23 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
|
24 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
|
25 * PERFORMANCE OF THIS SOFTWARE. |
|
26 * * |
|
27 * * |
|
28 * Copyright 2002 Sun Microsystems, Inc. All rights reserved. |
|
29 * |
|
30 * Permission is hereby granted, free of charge, to any person obtaining a |
|
31 * copy of this software and associated documentation files (the |
|
32 * "Software"), to deal in the Software without restriction, including |
|
33 * without limitation the rights to use, copy, modify, merge, publish, |
|
34 * distribute, and/or sell copies of the Software, and to permit persons |
|
35 * to whom the Software is furnished to do so, provided that the above |
|
36 * copyright notice(s) and this permission notice appear in all copies of |
|
37 * the Software and that both the above copyright notice(s) and this |
|
38 * permission notice appear in supporting documentation. |
|
39 * |
|
40 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
|
41 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|
42 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT |
|
43 * OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
|
44 * HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL |
|
45 * INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING |
|
46 * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, |
|
47 * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION |
|
48 * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
|
49 * |
|
50 * Except as contained in this notice, the name of a copyright holder |
|
51 * shall not be used in advertising or otherwise to promote the sale, use |
|
52 * or other dealings in this Software without prior written authorization |
|
53 * of the copyright holder. |
|
54 * |
|
55 ********************************************** */ |
|
56 |
|
57 |
|
58 # This originates from X11R5 (mit/util/scripts/install.sh), which was |
|
59 # later released in X11R6 (xc/config/util/install.sh) with the |
|
60 # following copyright and license. |
|
61 # |
|
62 # Copyright (C) 1994 X Consortium |
|
63 # |
|
64 # Permission is hereby granted, free of charge, to any person obtaining a copy |
|
65 # of this software and associated documentation files (the "Software"), to |
|
66 # deal in the Software without restriction, including without limitation the |
|
67 # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
68 # sell copies of the Software, and to permit persons to whom the Software is |
|
69 # furnished to do so, subject to the following conditions: |
|
70 # |
|
71 # The above copyright notice and this permission notice shall be included in |
|
72 # all copies or substantial portions of the Software. |
|
73 # |
|
74 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
75 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
76 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
77 # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN |
|
78 # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- |
|
79 # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
80 # |
|
81 # Except as contained in this notice, the name of the X Consortium shall not |
|
82 # be used in advertising or otherwise to promote the sale, use or other deal- |
|
83 # ings in this Software without prior written authorization from the X Consor- |
|
84 # tium. |
|
85 # |
|
86 # |
|
87 # FSF changes to this file are in the public domain. |
|
88 # |
|
89 # Calling this script install-sh is preferred over install.sh, to prevent |
|
90 # `make' implicit rules from creating a file called install from it |
|
91 # when there is no Makefile. |
|
92 # |
|
93 # This script is compatible with the BSD install script, but was written |
|
94 # from scratch. |
|
95 |