aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-02-10 22:23:31 +0000
committerGlenn Morris2007-02-10 22:23:31 +0000
commit95fe4534e0d796d54e4342c196d91ea39611b104 (patch)
tree4f6cd57866e921a6496e807fa9e6e94bd856c36b
parentdd7203c769037b898880bae4de7710fad1312e1f (diff)
downloademacs-95fe4534e0d796d54e4342c196d91ea39611b104.tar.gz
emacs-95fe4534e0d796d54e4342c196d91ea39611b104.zip
Relicense under GPL - see README file for details.
-rw-r--r--msdos/is_exec.c29
-rw-r--r--msdos/sigaction.c23
2 files changed, 45 insertions, 7 deletions
diff --git a/msdos/is_exec.c b/msdos/is_exec.c
index 4da0ec35c56..c8bb7dcf4fa 100644
--- a/msdos/is_exec.c
+++ b/msdos/is_exec.c
@@ -1,6 +1,28 @@
1/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
2/* IS_EXEC.C 1/* IS_EXEC.C
3 * 2 *
3 * Copyright (C) 1995 DJ Delorie
4 * Copyright (C) 1994 Eli Zaretskii <eliz@is.elta.co.il>
5 *
6 * (See the README file in this directory for the copyright and license
7 * history of this file.)
8 *
9 * This file is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2, or (at your option)
12 * any later version.
13 *
14 * This file is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this file; see the file COPYING. If not, write to
21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 * Boston, MA 02110-1301, USA.
23 *
24 * Commentary:
25 *
4 * Given a filename or a file handle, and the extension of the file, 26 * Given a filename or a file handle, and the extension of the file,
5 * determine if the file is executable. 27 * determine if the file is executable.
6 * First, the file extension is checked in case it uniquely identifies 28 * First, the file extension is checked in case it uniquely identifies
@@ -8,11 +30,6 @@
8 * two bytes of the file are tested for known signatures of executable 30 * two bytes of the file are tested for known signatures of executable
9 * files. 31 * files.
10 * 32 *
11 * Copyright (c) 1994 Eli Zaretskii <eliz@is.elta.co.il>
12 *
13 * This software may be used freely so long as this copyright notice is
14 * left intact. There is no warranty on this software.
15 *
16 */ 33 */
17 34
18#include <libc/stubs.h> 35#include <libc/stubs.h>
diff --git a/msdos/sigaction.c b/msdos/sigaction.c
index 0f4f09b2a99..678de55f4a1 100644
--- a/msdos/sigaction.c
+++ b/msdos/sigaction.c
@@ -1,4 +1,25 @@
1/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ 1/* sigaction.c
2 *
3 * Copyright (C) 1995 DJ Delorie
4 *
5 * (See the README file in this directory for the copyright and license
6 * history of this file.)
7 *
8 * This file is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2, or (at your option)
11 * any later version.
12 *
13 * This file is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this file; see the file COPYING. If not, write to
20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 * Boston, MA 02110-1301, USA.
22 */
2#include <signal.h> 23#include <signal.h>
3#include <errno.h> 24#include <errno.h>
4 25