4401. [misc] Change LICENSE to MPL 2.0.
This commit is contained in:
@@ -1,18 +1,9 @@
|
||||
<!--
|
||||
- Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
|
||||
- Copyright (C) 1999-2002 Internet Software Consortium.
|
||||
- Copyright (C) 1999-2002, 2004, 2007, 2016 Internet Systems Consortium, Inc. ("ISC")
|
||||
-
|
||||
- Permission to use, copy, modify, and/or distribute this software for any
|
||||
- purpose with or without fee is hereby granted, provided that the above
|
||||
- copyright notice and this permission notice appear in all copies.
|
||||
-
|
||||
- THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
- AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
||||
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
- PERFORMANCE OF THIS SOFTWARE.
|
||||
- This Source Code Form is subject to the terms of the Mozilla Public
|
||||
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
- file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
-->
|
||||
|
||||
<!-- $Id: coding.html,v 1.22 2007/06/19 23:47:13 tbox Exp $ -->
|
||||
@@ -294,12 +285,12 @@ If a function returns a value, it should be cast to (void) if you don't
|
||||
care what the value is, except for <CODE>printf</CODE> and its variants,
|
||||
<CODE>fputc</CODE>, <CODE>fwrite</CODE> (when writing text),
|
||||
<CODE>fflush</CODE>,
|
||||
<CODE>memcpy</CODE>, <CODE>memmove</CODE>, <CODE>memset</CODE>,
|
||||
<CODE>memcpy</CODE>, <CODE>memmove</CODE>, <CODE>memset</CODE>,
|
||||
<CODE>strcpy</CODE>, <CODE>strncpy</CODE>, and <CODE>strcat</CODE>.
|
||||
<P>
|
||||
|
||||
Certain functions return values or not depending on the operating
|
||||
system or even compiler flags; these include
|
||||
system or even compiler flags; these include
|
||||
these include <CODE>openlog</CODE> and <CODE>srandom</CODE>.
|
||||
The return value of these should not be used nor cast to (void).
|
||||
<P>
|
||||
|
||||
Reference in New Issue
Block a user