diff options
author | Philip Withnall <pwithnall@endlessos.org> | 2022-05-18 09:21:02 +0100 |
---|---|---|
committer | Philip Withnall <pwithnall@endlessos.org> | 2022-05-18 09:21:02 +0100 |
commit | 1771449e54965986a445e2d802a837d2a702f01a (patch) | |
tree | 7f43dcd3c156b76b88d69ca9b7556fb70d1301ed /glib/tests/regex.c | |
parent | c613d32b9293ba9b50a8b3d1e4e5bfcb04e72fd8 (diff) | |
download | glib-1771449e54965986a445e2d802a837d2a702f01a.tar.gz |
tests: Add SPDX license headers automatically
Add SPDX license (but not copyright) headers to all files which follow a
certain pattern in their existing non-machine-readable header comment.
This commit was entirely generated using the command:
```
git ls-files glib/tests/*.c | xargs perl -0777 -pi -e 's/\n \*\n \* This library is free software; you can redistribute it and\/or\n \* modify it under the terms of the GNU Lesser General Public/\n \*\n \* SPDX-License-Identifier: LGPL-2.1-or-later\n \*\n \* This library is free software; you can redistribute it and\/or\n \* modify it under the terms of the GNU Lesser General Public/igs'
```
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Helps: #1415
Diffstat (limited to 'glib/tests/regex.c')
-rw-r--r-- | glib/tests/regex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/glib/tests/regex.c b/glib/tests/regex.c index 88d12edf6..e19f97587 100644 --- a/glib/tests/regex.c +++ b/glib/tests/regex.c @@ -2,6 +2,8 @@ * Copyright (C) 2005 - 2006, Marco Barisione <marco@barisione.org> * Copyright (C) 2010 Red Hat, Inc. * + * SPDX-License-Identifier: LGPL-2.1-or-later + * * This 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 |