From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 130128 invoked by alias); 5 Feb 2020 06:49:36 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 130051 invoked by uid 89); 5 Feb 2020 06:49:36 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-23.6 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: elaine.keithp.com Received: from home.keithp.com (HELO elaine.keithp.com) (63.227.221.253) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 05 Feb 2020 06:49:33 +0000 Received: from localhost (localhost [127.0.0.1]) by elaine.keithp.com (Postfix) with ESMTP id 679B83F2AC04 for ; Tue, 4 Feb 2020 22:49:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=keithp.com; s=mail; t=1580885346; bh=wOd3TCEe9+quuX7RkTD6GH671sk7MSaZ2dRNiTm5VRQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AtZzZc9B4DOLPXgyzLYK4qRETNIVL4VchccsiP2CoOKMQ2rWvH/cb6Z21TIfyFkq0 7mVtJjZGp/HzMCDOy757GCPxOCw151u/UaZ925aky0cCxJST6VhOKZyze1VlTcFmZh frk2V28SexeBrcB7PqFKI1U7PoeQdJ4Hy8fueycD+lBtjI0G14h6Bk9Svy6ZIi1OgN /0ht/r1TlLYQpwUz1mHb6kTsxlOuYDBc7hhJ8Ul25qIDKHbts2AHIXzp10j0OqPKzV sF3Fx3QqA3sT27zdDkM8moF2OOUHiyocllCHT3PJRkZDfc0SpwgBpCEotpbSGZIcsJ a5+eTxFY9ejZQ== Received: from elaine.keithp.com ([127.0.0.1]) by localhost (elaine.keithp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HwfzNj9YO9Pj; Tue, 4 Feb 2020 22:49:06 -0800 (PST) Received: from keithp.com (koto.keithp.com [10.0.0.2]) by elaine.keithp.com (Postfix) with ESMTPSA id 082A43F2AC07; Tue, 4 Feb 2020 22:48:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=keithp.com; s=mail; t=1580885327; bh=wOd3TCEe9+quuX7RkTD6GH671sk7MSaZ2dRNiTm5VRQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hS5wHpR27NDcAslg5VxvmNpjOOddqMQdqSsDkl++e73MUJ+huBpGzS6IjAOOtgG8d Ul86XtB8TF7PlqA8XLSdmfz6f7haNmcMBXFgMHF66jkFdlIujYCZHaX1vKODyziRFt OxF3cKlScRzb/5EIo2WtF653IXM926a3Rs8RjaSIwWulZHG0ItkEyUcM85Vh83Ziyt tzKj8y0gOoVjq1T54glSOdMqA68l3ui8IlIqSuSiMqgsCBkiSyDAQrFG3qkWFBDPbF XcSo2+D6Jn0BK7bTK/zTHKHlhnhghygKjThH8Mi/AE8MmdML9JCzV2Yo7ePtkA4jD+ xXsfQWML4AM1Q== Received: by keithp.com (Postfix, from userid 1000) id A145915821C4; Tue, 4 Feb 2020 22:48:46 -0800 (PST) From: Keith Packard To: newlib@sourceware.org Cc: Keith Packard Subject: [PATCH 15/27] Add missing copyrights in newlib/libc/stdio Date: Wed, 05 Feb 2020 06:49:00 -0000 Message-Id: <20200205064844.929131-16-keithp@keithp.com> In-Reply-To: <20200205064844.929131-1-keithp@keithp.com> References: <20200205064844.929131-1-keithp@keithp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2020/txt/msg00060.txt Signed-off-by: Keith Packard --- newlib/libc/stdio/fwide.c | 25 +++++++++++++++++++++++++ newlib/libc/stdio/stdio.tex | 16 ++++++++++++++++ newlib/libc/stdio/stdio_ext.c | 1 + newlib/libc/stdio/tmpfile.c | 16 ++++++++++++++++ newlib/libc/stdio/tmpnam.c | 16 ++++++++++++++++ 5 files changed, 74 insertions(+) diff --git a/newlib/libc/stdio/fwide.c b/newlib/libc/stdio/fwide.c index 9b5a3d12a..73605d868 100644 --- a/newlib/libc/stdio/fwide.c +++ b/newlib/libc/stdio/fwide.c @@ -1,4 +1,29 @@ /* +Copyright (c) 2002-2004 Tim J. Robbins. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +/* FUNCTION <>---set and determine the orientation of a FILE stream diff --git a/newlib/libc/stdio/stdio.tex b/newlib/libc/stdio/stdio.tex index 5352c5491..7bf8ba66d 100644 --- a/newlib/libc/stdio/stdio.tex +++ b/newlib/libc/stdio/stdio.tex @@ -1,3 +1,19 @@ +# +#Copyright (c) 1990 The Regents of the University of California. +#All rights reserved. +# +#Redistribution and use in source and binary forms are permitted +#provided that the above copyright notice and this paragraph are +#duplicated in all such forms and that any documentation, +#and/or other materials related to such +#distribution and use acknowledge that the software was developed +#by the University of California, Berkeley. The name of the +#University may not be used to endorse or promote products derived +#from this software without specific prior written permission. +#THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR +#IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED +#WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +# @node Stdio @chapter Input and Output (@file{stdio.h}) diff --git a/newlib/libc/stdio/stdio_ext.c b/newlib/libc/stdio/stdio_ext.c index 857091fd7..065e8b8a1 100644 --- a/newlib/libc/stdio/stdio_ext.c +++ b/newlib/libc/stdio/stdio_ext.c @@ -1,3 +1,4 @@ +/* Copyright (c) 2014 Yaakov Selkowitz */ /* FUNCTION <>,<<__fbufsize>>,<<__fpending>>,<<__flbf>>,<<__freadable>>,<<__fwritable>>,<<__freading>>,<<__fwriting>>---access internals of FILE structure diff --git a/newlib/libc/stdio/tmpfile.c b/newlib/libc/stdio/tmpfile.c index f209a3edf..9c142a847 100644 --- a/newlib/libc/stdio/tmpfile.c +++ b/newlib/libc/stdio/tmpfile.c @@ -1,4 +1,20 @@ /* +Copyright (c) 1990 The Regents of the University of California. +All rights reserved. + +Redistribution and use in source and binary forms are permitted +provided that the above copyright notice and this paragraph are +duplicated in all such forms and that any documentation, +and/or other materials related to such +distribution and use acknowledge that the software was developed +by the University of California, Berkeley. The name of the +University may not be used to endorse or promote products derived +from this software without specific prior written permission. +THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + */ +/* FUNCTION <>---create a temporary file diff --git a/newlib/libc/stdio/tmpnam.c b/newlib/libc/stdio/tmpnam.c index 3bd5b6a58..8a06a3cc3 100644 --- a/newlib/libc/stdio/tmpnam.c +++ b/newlib/libc/stdio/tmpnam.c @@ -1,3 +1,19 @@ +/* +Copyright (c) 1990 The Regents of the University of California. +All rights reserved. + +Redistribution and use in source and binary forms are permitted +provided that the above copyright notice and this paragraph are +duplicated in all such forms and that any documentation, +and/or other materials related to such +distribution and use acknowledge that the software was developed +by the University of California, Berkeley. The name of the +University may not be used to endorse or promote products derived +from this software without specific prior written permission. +THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + */ /* * tmpname.c * Original Author: G. Haley -- 2.25.0