1
0
mirror of https://github.com/libssh2/libssh2.git synced 2026-10-24 03:48:58 +03:00

src: fix stray fprintf() calls, make checksrc verify

Replace with `ssh2_deb()`.

Also:
- adjust checksrc options to verify.
- checksrc-all.pl: fix an issue preventing picking up `tests/.checksrc`.

Follow-up to c090b696c6 #1556
Follow-up to af1e591eee #796

Closes #1997
This commit is contained in:
Viktor Szakats
2026-06-08 12:06:31 +02:00
parent c528dfdf42
commit 124c68bbed
10 changed files with 24 additions and 7 deletions

View File

@@ -20,7 +20,6 @@ my @options = (
"-aCreateFileA",
"-afclose",
"-afopen",
"-afprintf",
"-afree",
"-afstat",
"-amalloc",
@@ -60,7 +59,7 @@ my $anyfailed = 0;
for my $dir (@dirs) {
if($is_git) {
@files = ();
open(O, '-|', 'git', 'ls-files', "$dir/*.[ch]") || die; push @files, <O>; close(O);
open(O, '-|', 'git', 'ls-files', ":(glob)$dir/*.[ch]") || die; push @files, <O>; close(O);
chomp(@files);
}
else {