summaryrefslogtreecommitdiff
path: root/glib/gdir.c
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@endlessos.org>2022-05-18 09:15:38 +0100
committerPhilip Withnall <pwithnall@endlessos.org>2022-05-18 09:19:02 +0100
commit70ee43f1e9695b78908e10f7619998052ce62611 (patch)
treeb03809da5eae02eca0f8ca36d72b686893c6a1f2 /glib/gdir.c
parent5942cd798402c9c84f5864435a534a6636cbfc1c (diff)
downloadglib-70ee43f1e9695b78908e10f7619998052ce62611.tar.gz
glib: 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/*.[ch] | 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/gdir.c')
-rw-r--r--glib/gdir.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/glib/gdir.c b/glib/gdir.c
index b07eb5c20..c9283dea4 100644
--- a/glib/gdir.c
+++ b/glib/gdir.c
@@ -6,6 +6,8 @@
* Copyright 2001 Hans Breuer
* Copyright 2004 Tor Lillqvist
*
+ * 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