fixed permissions check for executable files exported on systems where 'ls' reports alternative access characters
3: /*
4: * Copyright (c) 2003, Dániel Dékány
5: * All rights reserved.
6: *
7: * Redistribution and use in source and binary forms, with or without
8: * modification, are permitted provided that the following conditions are
9: * met:
10: *
11: * - Redistributions of source code must retain the above copyright notice,
12: * this list of conditions and the following disclaimer.
13: *
14: * - Redistributions in binary form must reproduce the above copyright
15: * notice, this list of conditions and the following disclaimer in the
16: * documentation and/or other materials provided with the distribution.
17: *
18: * - Neither the name "FMPP" nor the names of the project contributors may
19: * be used to endorse or promote products derived from this software
20: * without specific prior written permission.
21: *
22: * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
23: * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
24: * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
25: * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
26: * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
27: * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
28: * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29: * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
30: * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
31: * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32: * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33: */
34:
8: Copyright (c) 2003 The Visigoth Software Society. All rights reserved.
9:
10: Redistribution and use in source and binary forms, with or without
11: modification, are permitted provided that the following conditions are met:
12:
13: 1. Redistributions of source code must retain the above copyright notice,
14: this list of conditions and the following disclaimer.
15:
16: 2. The end-user documentation included with the redistribution, if any, must
17: include the following acknowlegement:
18: "This product includes software developed by the
19: Visigoth Software Society (http://www.visigoths.org/)."
20: Alternately, this acknowlegement may appear in the software itself, if and
21: wherever such third-party acknowlegements normally appear.
22:
23: 3. Neither the name "FreeMarker", "Visigoth", nor any of the names of the
24: project contributors may be used to endorse or promote products derived
25: from this software without prior written permission. For written
26: permission, please contact visigoths@visigoths.org.
27:
28: 4. Products derived from this software may not be called "FreeMarker" or
29: "Visigoth" nor may "FreeMarker" or "Visigoth" appear in their names
30: without prior written permission of the Visigoth Software Society.
31:
32: THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
33: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
34: FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
35: VISIGOTH SOFTWARE SOCIETY OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
36: INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
37: BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
38: DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
39: OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
40: NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
41: EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
42: ------------------------------------------------------------------------------