summaryrefslogtreecommitdiffstats
path: root/lib/strlcpy.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2023-02-08 13:21:36 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2023-02-09 14:09:07 +0100
commit47a3a8277038ccb042ef8f36eb59ce26bb7e9cdf (patch)
treec9c2a9503efa359cf70dcb2afe6b51b45712658d /lib/strlcpy.c
parent*: sort out & explain licenses used in FRR (diff)
downloadfrr-47a3a8277038ccb042ef8f36eb59ce26bb7e9cdf.tar.xz
frr-47a3a8277038ccb042ef8f36eb59ce26bb7e9cdf.zip
*: manual SPDX License ID conversions
The files converted in this commit either had some random misspelling or formatting weirdness that made them escape automated replacement, or have a particularly "weird" licensing setup (e.g. dual-licensed.) This also marks a bunch of "public domain" files as SPDX License "NONE". Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/strlcpy.c')
-rw-r--r--lib/strlcpy.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/lib/strlcpy.c b/lib/strlcpy.c
index 71ee9f1a5..74ea9cbc9 100644
--- a/lib/strlcpy.c
+++ b/lib/strlcpy.c
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/* Copy a null-terminated string to a fixed-size buffer, with length checking.
* Copyright (C) 2016 Free Software Foundation, Inc.
* This file is part of the GNU C Library.
- *
- * The GNU C Library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * The GNU C Library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with the GNU C Library; if not, see
- * <http://www.gnu.org/licenses/>.
*/
/* adapted for Quagga from glibc patch submission originally from