mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-05-22 13:35:05 +02:00
Relicense err.c and progname.c to avoid trouble with 4-clause BSD code
This commit is contained in:
parent
44706ade06
commit
532aec99b6
41
src/err.c
41
src/err.c
@ -1,19 +1,28 @@
|
|||||||
/* Copyright (C) 2006 Robert Millan
|
/*
|
||||||
|
* Copyright (C) 2006 Robert Millan
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
*
|
||||||
modify it under the terms of the GNU Lesser General Public
|
* Redistribution and use in source and binary forms, with or without
|
||||||
License as published by the Free Software Foundation; either
|
* modification, are permitted provided that the following conditions
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
* are met:
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
* notice, this list of conditions and the following disclaimer.
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
Lesser General Public License for more details.
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
* 3. The name of the author may not be used to endorse or promote products
|
||||||
You should have received a copy of the GNU Lesser General Public
|
* derived from this software without specific prior written permission.
|
||||||
License along with the GNU C Library; if not, write to the Free
|
*
|
||||||
Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
|
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||||
02110-1301, USA. */
|
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||||
|
* AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||||
|
* THE AUTHOR 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.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <bsd/err.h>
|
#include <bsd/err.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
@ -1,19 +1,28 @@
|
|||||||
/* Copyright (C) 2006 Robert Millan
|
/*
|
||||||
|
* Copyright (C) 2006 Robert Millan
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
*
|
||||||
modify it under the terms of the GNU Lesser General Public
|
* Redistribution and use in source and binary forms, with or without
|
||||||
License as published by the Free Software Foundation; either
|
* modification, are permitted provided that the following conditions
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
* are met:
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
* notice, this list of conditions and the following disclaimer.
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
Lesser General Public License for more details.
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
* 3. The name of the author may not be used to endorse or promote products
|
||||||
You should have received a copy of the GNU Lesser General Public
|
* derived from this software without specific prior written permission.
|
||||||
License along with the GNU C Library; if not, write to the Free
|
*
|
||||||
Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
|
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||||
02110-1301, USA. */
|
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||||
|
* AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||||
|
* THE AUTHOR 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.
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Rejected in glibc (http://sourceware.org/ml/libc-alpha/2006-03/msg00125.html)
|
Rejected in glibc (http://sourceware.org/ml/libc-alpha/2006-03/msg00125.html)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user