delete_temp_file fix
[bpt/emacs.git] / msdos / README
CommitLineData
ba318903 1Copyright (C) 2001-2014 Free Software Foundation, Inc.
2f969cd4
GM
2See the end of the file for license conditions.
3
4
d7fcecc1
EZ
5This directory contains scripts for building the DJGPP (a.k.a. MS-DOS)
6version of Emacs, and other files useful for running that version of
7Emacs.
8
9The files emacs.ico and emacs.pif are for using the DJGPP version on
10Windows 3.X. Since these are binary files, their copyright notice is
11reproduced here:
12
6bc383b1 13# Copyright (C) 1993, 2002-2014 Free Software Foundation, Inc.
d7fcecc1
EZ
14#
15# This file is part of GNU Emacs.
16#
17# This file is free software; as a special exception, the author gives
18# unlimited permission to copy and/or distribute it, with or without
19# modifications, as long as this notice is preserved.
20#
21# This program is distributed in the hope that it will be useful,
22# but WITHOUT ANY WARRANTY; without even the implied warranty of
23# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24#
25# ----------------------------------------------------------------------
26
dd7203c7
GM
27
28NOTE ON THE LEGAL STATUS OF THE FILES IS_EXEC.C, SIGACTION.C
29
30As distributed with GNU Emacs, the files is_exec.c and sigaction.c are
31Copyright (C) 1995 DJ Delorie, and are licensed under the terms of the
ae560473
GM
32GNU General Public License version 3 (see COPYING), or (at your
33option) any later version.
dd7203c7
GM
34
35Here we record the details of the legal history of these files.
36
37The files is_exec.c and sigaction.c were originally part of DJGPP,
38distributed by DJ Delorie. The versions of these files in DJGPP
39contain the following license notice:
40
41 Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details
42
43The contents of the file COPYING.DJ (as available at, for example, the
44URL: <http://www.delorie.com/bin/cvsweb.cgi/djgpp/copying.dj>) are as
45follows:
46
47-- COPYING.DJ STARTS HERE --
48
49This is the file "COPYING.DJ". It does NOT apply to any sources or
50binaries copyrighted by UCB Berkeley, the Free Software Foundation, or
51any other agency besides DJ Delorie and others who have agreed to
52allow their sources to be distributed under these terms.
53
54 Copyright Information for sources and executables that are marked
55 Copyright (C) DJ Delorie
56 334 North Rd
57 Deerfield NH 03037-1110
58
59This document is Copyright (C) DJ Delorie and may be distributed
60verbatim, but changing it is not allowed.
61
62Source code copyright DJ Delorie is distributed under the terms of the
09e80d9f 63GNU General Public License, with the following exceptions:
dd7203c7
GM
64
65* Sources used to build crt0.o, gcrt0.o, libc.a, libdbg.a, and
66 libemu.a are distributed under the terms of the GNU Library General
67 Public License, rather than the GNU GPL.
68
69* Any existing copyright or authorship information in any given source
70 file must remain intact. If you modify a source file, a notice to that
09e80d9f 71 effect must be added to the authorship information in the source file.
dd7203c7
GM
72
73* Runtime binaries, as provided by DJ in DJGPP, may be distributed
74 without sources ONLY if the recipient is given sufficient information
75 to obtain a copy of djgpp themselves. This primarily applies to
76 go32-v2.exe, emu387.dxe, and stubedit.exe.
77
78* Runtime objects and libraries, as provided by DJ in DJGPP, when
79 linked into an application, may be distributed without sources ONLY
80 if the recipient is given sufficient information to obtain a copy of
81 djgpp themselves. This primarily applies to crt0.o and libc.a.
82
83-----
84
85Changes to source code copyright BSD, FSF, or others, by DJ Delorie
86fall under the terms of the original copyright. Such files usually
87have multiple copyright notices in them.
88
89A copy of the files "COPYING" and "COPYING.LIB" are included with this
90document. If you did not receive a copy of these files, you may
91obtain one from whence this document was obtained, or by writing:
92
93 Free Software Foundation, Inc.
94 51 Franklin Street,
95 Fifth Floor,
96 Boston, MA 02110-1301,
97 USA
98
99-- COPYING.DJ ENDS HERE --
100
101Both is_exec.c and sigaction.c are parts of DJGPP's libc.a, therefore
102according to exception 1 in the above terms their "base" license is
103the GNU Library General Public License [now known as the GNU Lesser
104General Public License].
105
106The terms of the GNU LGPL, specifically clause 3, which begins:
107
108 3. You may opt to apply the terms of the ordinary GNU General
109 Public License instead of this License to a given copy of the
110 Library.
111
112permit us to relicense the files is_exec.c and sigaction.c as used in
113GNU Emacs under the terms of the GNU GPL.
114
115COPYING.DJ, however, lists extra exceptions 2-4 to the GNU licenses.
116Items 3 and 4 are not relevant in the case of GNU Emacs, since they
117can only apply to copies of DJGPP [confirmed by email from DJ Delorie
118to rms at gnu.org and others, 2007/01/31].
119
120Exception 2 of COPYING.DJ, when viewed as an added restriction, rather
121than as an interpretation of the GPL, leads to problems. The added
122requirement makes the overall license of the file incompatible with
123the GNU GPL.
124
125As a solution to this problem, DJ Delorie has kindly granted (February
1262007) GNU Emacs an exception, and permits us to license the files
127is_exec.c and sigaction.c solely under the terms of the GNU GPL. This
128exception applies _only_ to these files as distributed with GNU Emacs.
129This solution was arrived at in an email discussion between DJ Delorie
130<dj at delorie.com> and Richard Stallman <rms at gnu.org> in
131January/February 2007. We record below a summary of the relevant final
132email in this discussion:
133
134 From: DJ Delorie <dj at delorie.com>
135 To: rms at gnu.org
136 Subject: Re: COPYING.DJ and Emacsn
137
138 I have no problem with whatever you wish to do with those files in
139 emacs (as long as djgpp itself doesn't need to change).
140
141
142Accordingly, in February 2007 we relicensed the files is_exec.c and
143sigaction.c as used in GNU Emacs under the GNU GPL.
144
145Copies of both the GNU General Public License and GNU Lesser (Library)
ff0cdfb9
GM
146Public License may be obtained from <http://www.gnu.org/licenses/>, or:
147the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
148Boston, MA 02110-1301, USA.
2f969cd4
GM
149
150\f
151This file is part of GNU Emacs.
152
ff0cdfb9 153GNU Emacs is free software: you can redistribute it and/or modify
2f969cd4 154it under the terms of the GNU General Public License as published by
ff0cdfb9
GM
155the Free Software Foundation, either version 3 of the License, or
156(at your option) any later version.
2f969cd4
GM
157
158GNU Emacs is distributed in the hope that it will be useful,
159but WITHOUT ANY WARRANTY; without even the implied warranty of
160MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
161GNU General Public License for more details.
162
163You should have received a copy of the GNU General Public License
ff0cdfb9 164along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.