annotate src/s/sco7.h @ 5253:b6a398dbb403

Fewer algorithmic complexity surprises, nicer errors, mapcarX(), maplist() src/ChangeLog addition: 2010-09-01 Aidan Kehoe <kehoea@parhasard.net> * fns.c (list_merge, list_array_merge_into_list) (list_array_merge_into_array): Avoid algorithmic complexity surprises when checking for circularity in these functions. (Freduce): Fix some formatting, in passing. (mapcarX): Drop the SOME_OR_EVERY argument to this function; instead, take CALLER, a symbol reflecting the Lisp-visible function that called mapcarX(). Use CALLER with mapping_interaction_error() when sequences are modified illegally. Don't cons with #'some, #'every, not even a little. (Fmapconcat, FmapcarX, Fmapvector, Fmapcan, Fmapc, Fmap) (Fmap_into, Fsome, Fevery): Call mapcarX() with its new arguments. (Fmapcan): Don't unnecessarily complicate the nconc call. (maplist): Take CALLER, a symbol reflecting the Lisp-visible function that called maplist(), rather than having separate arguments to indicate mapl vs. mapcon. Avoid algorithmic complexity surprises when checking for circularity. In #'mapcon, check a given stretch of result for well-formedness once, which was not previously the case, despite what the comments said. (Fmaplist, Fmapl, Fmapcon): Call maplist() with its new arguments.
author Aidan Kehoe <kehoea@parhasard.net>
date Wed, 01 Sep 2010 12:51:32 +0100
parents ba07c880114a
children 2aa9cd456ae7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4987
3ee2bdf020bc Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
1 /* Definitions file for XEmacs running on SCO System V release 4.2
3ee2bdf020bc Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
2 Copyright (C) 1999 Ron Record
3ee2bdf020bc Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
3
3ee2bdf020bc Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
4 This file is part of XEmacs.
3ee2bdf020bc Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
5
3ee2bdf020bc Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
6 XEmacs is free software; you can redistribute it and/or modify it
3ee2bdf020bc Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
7 under the terms of the GNU General Public License as published by the
3ee2bdf020bc Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
8 Free Software Foundation; either version 2, or (at your option) any
3ee2bdf020bc Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
9 later version.
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
10
4987
3ee2bdf020bc Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT
3ee2bdf020bc Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3ee2bdf020bc Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
3ee2bdf020bc Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
14 for more details.
3ee2bdf020bc Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
15
3ee2bdf020bc Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
16 You should have received a copy of the GNU General Public License
3ee2bdf020bc Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
17 along with XEmacs; see the file COPYING. If not, write to
5231
ba07c880114a Fix up FSF's Franklin Street address in many files.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 4987
diff changeset
18 the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
4987
3ee2bdf020bc Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
19 Boston, MA 02110-1301, USA. */
3ee2bdf020bc Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
20
3ee2bdf020bc Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents: 398
diff changeset
21 /* Synched up with: FSF 19.31. */
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
22
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
23 #include "usg5-4.h"
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
24
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
25 /* Motif needs -lgen. */
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
26 #undef LIBS_SYSTEM
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
27 #define LIBS_SYSTEM "-lsocket -lnsl -lelf -lgen"
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
28
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
29 #define VFORK_RETURN_TYPE pid_t
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
30
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
31 /* XEmacs change: communicate to m/intel386.h */
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents:
diff changeset
32 #define USG5_4_2