← Commit list

5e74b2df34

Viktor Szakats
Viktor Szakats
2025-10-13
SUCCESS Duration: 158s

Subject

REUSE: move copyright headers to `.checksrc`

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

REUSE.toml+0 -5
@@ -39,11 +39,6 @@ path = [
"tests/certs/**",
"tests/data/test**",
"tests/valgrind.supp",
- # checksrc control files
- "docs/examples/.checksrc",
- "scripts/.checksrc",
- "src/.checksrc",
- "tests/server/.checksrc",
]
SPDX-FileCopyrightText = "Daniel Stenberg, <[email protected]>, et al."
SPDX-License-Identifier = "curl"
docs/examples/.checksrc+6 -0
@@ -1,3 +1,7 @@
+# Copyright (C) Daniel Stenberg, <[email protected]>, et al.
+#
+# SPDX-License-Identifier: curl
+
allowfunc fclose
allowfunc fdopen
allowfunc fopen
@@ -11,6 +15,8 @@ allowfunc socket
allowfunc sscanf
allowfunc strerror
allowfunc vsnprintf
+
+# Use of curl printf functions is discouraged
banfunc curl_maprintf
banfunc curl_mfprintf
banfunc curl_mprintf
scripts/.checksrc+4 -0
@@ -1 +1,5 @@
+# Copyright (C) Daniel Stenberg, <[email protected]>, et al.
+#
+# SPDX-License-Identifier: curl
+
allowfunc printf
scripts/checksrc.pl+4 -0
@@ -202,6 +202,10 @@ sub readlocalfile {
if(/^\s*(#.*)/) {
next;
}
+ # Skip empty lines
+ elsif($_ eq '') {
+ next;
+ }
elsif(/^enable ([A-Z]+)$/) {
if(!defined($warnings_extended{$1})) {
print STDERR "invalid warning specified in .checksrc: \"$1\"\n";
src/.checksrc+4 -0
@@ -1 +1,5 @@
+# Copyright (C) Daniel Stenberg, <[email protected]>, et al.
+#
+# SPDX-License-Identifier: curl
+
enable STDERR
tests/server/.checksrc+4 -0
@@ -1,3 +1,7 @@
+# Copyright (C) Daniel Stenberg, <[email protected]>, et al.
+#
+# SPDX-License-Identifier: curl
+
allowfunc accept
allowfunc fclose
allowfunc fopen