mruby-random: Random#rand(nil) should raise TypeError
[mruby.git] / LEGAL
blob9697d5747e07f870089b2318a57f8de24eda0a3d
1 LEGAL NOTICE INFORMATION
2 ------------------------
4 All the files in this distribution are covered under the MIT license
5 (see the file LICENSE) except some files mentioned below:
7 - src/string.c (memsearch_swar): 2 clause BSD license code by Wojciech Muła (@WojciechMula)
8 - src/fmt_fp.c: public domain by Dave Hylands (@dhylands)
9 - mrbgems/mruby-dir/src/Win/dirent.c: MIT-like license by Kevlin Henney
11 [src/string.c]
12 The implementation of mrb_memsearch_ss() is taken from
13 https://github.com/WojciechMula/sse4-strstr.git
15 Copyright (c) 2008-2016, Wojciech Muła
16 All rights reserved.
18 Redistribution and use in source and binary forms, with or without
19 modification, are permitted provided that the following conditions are
20 met:
22 1. Redistributions of source code must retain the above copyright
23    notice, this list of conditions and the following disclaimer.
25 2. Redistributions in binary form must reproduce the above copyright
26    notice, this list of conditions and the following disclaimer in the
27    documentation and/or other materials provided with the distribution.
29 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
30 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
31 TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
32 PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
33 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
34 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
35 TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
36 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
37 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
38 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
39 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41 [src/fmt_fp.c]
43 The code in this function was inspired from Fred Bayer's pdouble.c.
44 Since pdouble.c was released as Public Domain, I'm releasing this
45 code as public domain as well.
47 Dave Hylands
49 The original code can be found in https://github.com/dhylands/format-float
51 [mrbgems/mruby-dir/src/Win/dirent.c] used only for Windows platform
53 Copyright Kevlin Henney, 1997, 2003, 2012. All rights reserved.
55 Permission to use, copy, modify, and distribute this software and its
56 documentation for any purpose is hereby granted without fee, provided
57 that this copyright and permissions notice appear in all copies and
58 derivatives.
60 This software is supplied "as is" without express or implied warranty.
62 But that said, if there are any problems please get in touch.