From c138111a3c27863308b6552a5527a9e821a3dc11 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sun, 17 May 2020 17:05:30 -0700 Subject: Update to rra-c-util 8.2 and C TAP Harness 4.7 Update to rra-c-util 8.2: * Implement explicit_bzero with memset if it is not available. * Reformat all C source using clang-format 10. * Work around Test::Strict not skipping .git directories. * Fix warnings with perltidy 20190601 and Perl::Critic 1.134. * Fix warnings with Clang 10, GCC 10, and the Clang static analyzer. Update to C TAP Harness 4.7: * Fix warnings with GCC 10. * Reformat all C source using clang-format 10. * Fixed malloc error checking in bstrndup. --- tests/style/obsolete-strings-t | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tests/style') diff --git a/tests/style/obsolete-strings-t b/tests/style/obsolete-strings-t index b3d8fd4..02fd30c 100755 --- a/tests/style/obsolete-strings-t +++ b/tests/style/obsolete-strings-t @@ -9,7 +9,7 @@ # The canonical version of this file is maintained in the rra-c-util package, # which can be found at . # -# Copyright 2016, 2018 Russ Allbery +# Copyright 2016, 2018-2019 Russ Allbery # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -31,17 +31,18 @@ # # SPDX-License-Identifier: MIT -use 5.006; +use 5.008; use strict; use warnings; use lib "$ENV{C_TAP_SOURCE}/tap/perl"; -use File::Basename qw(basename); -use Test::More; use Test::RRA qw(skip_unless_author); use Test::RRA::Automake qw(all_files automake_setup); +use File::Basename qw(basename); +use Test::More; + # Bad patterns to search for. my @BAD_REGEXES = (qr{ http:// \S+ [.]eyrie[.]org }xms); my @BAD_STRINGS = qw(rra@stanford.edu RRA_MAINTAINER_TESTS); -- cgit v1.2.3