aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/assert.c
diff options
context:
space:
mode:
Diffstat (limited to 'mps/code/assert.c')
-rw-r--r--mps/code/assert.c42
1 files changed, 42 insertions, 0 deletions
diff --git a/mps/code/assert.c b/mps/code/assert.c
index 52b0071c9f7..f7aa0ffb48a 100644
--- a/mps/code/assert.c
+++ b/mps/code/assert.c
@@ -69,3 +69,45 @@ void AssertFail1(const char *s)
69 if (handler != NULL) 69 if (handler != NULL)
70 (*handler)(s, "", "", 0); 70 (*handler)(s, "", "", 0);
71} 71}
72
73
74/* C. COPYRIGHT AND LICENSE
75 *
76 * Copyright (C) 2001-2002 Ravenbrook Limited <http://www.ravenbrook.com/>.
77 * All rights reserved. This is an open source license. Contact
78 * Ravenbrook for commercial licensing options.
79 *
80 * Redistribution and use in source and binary forms, with or without
81 * modification, are permitted provided that the following conditions are
82 * met:
83 *
84 * 1. Redistributions of source code must retain the above copyright
85 * notice, this list of conditions and the following disclaimer.
86 *
87 * 2. Redistributions in binary form must reproduce the above copyright
88 * notice, this list of conditions and the following disclaimer in the
89 * documentation and/or other materials provided with the distribution.
90 *
91 * 3. Redistributions in any form must be accompanied by information on how
92 * to obtain complete source code for this software and any accompanying
93 * software that uses this software. The source code must either be
94 * included in the distribution or be available for no more than the cost
95 * of distribution plus a nominal fee, and must be freely redistributable
96 * under reasonable conditions. For an executable file, complete source
97 * code means the source code for all modules it contains. It does not
98 * include source code for modules or files that typically accompany the
99 * major components of the operating system on which the executable file
100 * runs.
101 *
102 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
103 * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
104 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
105 * PURPOSE, OR NON-INFRINGEMENT, ARE DISCLAIMED. IN NO EVENT SHALL THE
106 * COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
107 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
108 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
109 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
110 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
111 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
112 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
113 */