Refactor loop body as copy_non_dnssec_records.

(cherry picked from commit d26e1254)
69 jobs for !2789 with 1501-summary-threadsanitizer-lock-order-inversion-potential-deadlock-in-pthread_rwlock_wrlock-v9_14 in 26 minutes and 46 seconds (queued for 6 seconds)
detached
Status Job ID Name Coverage
  Precheck
passed #494698
amd64 linux
🐞:sid:amd64

00:00:47

passed #494696
amd64 linux
autoreconf:sid:amd64

00:00:33

passed #494697
amd64 linux
misc:sid:amd64

00:00:16

 
  Build
passed #494711
amd64 linux
asan:sid:amd64

00:06:19

passed #494715
amd64 freebsd
clang:freebsd11.3:amd64

00:01:17

passed #494716
amd64 freebsd
clang:freebsd12.0:amd64

00:01:08

passed #494717
amd64 openbsd
clang:openbsd6.5:amd64

00:05:53

passed #494712
amd64 linux
clang:stretch:amd64

00:02:10

passed #494713
i386 linux
clang:stretch:i386

00:02:48

passed #494699
amd64 linux
gcc:alpine3.10:amd64

00:02:01

passed #494710
amd64 linux
gcc:bionic:amd64

00:02:16

passed #494705
amd64 linux
gcc:buster:amd64

00:02:36

passed #494700
amd64 linux
gcc:centos6:amd64

00:02:02

passed #494701
amd64 linux
gcc:centos7:amd64

00:02:29

passed #494702
amd64 linux
gcc:centos8:amd64

00:02:30

passed #494708
amd64 linux
gcc:fedora31:amd64

00:02:29

passed #494703
amd64 linux
gcc:jessie:amd64

00:00:48

passed #494706
amd64 linux
gcc:sid:amd64

00:02:54

passed #494707
i386 linux
gcc:sid:i386

00:01:37

passed #494704
amd64 linux
gcc:stretch:amd64

00:02:38

passed #494709
amd64 linux
gcc:xenial:amd64

00:02:46

passed #494719
amd64 windows
msvc:windows:amd64

00:02:27

passed #494718
amd64 linux
nolibtool:sid:amd64

00:02:56

passed #494714
amd64 linux
pkcs11:sid:amd64

00:02:33

 
  Unit
passed #494732
amd64 linux
unit:asan:sid:amd64

00:01:14

passed #494735
amd64 freebsd
unit:clang:freebsd11.3:amd64

00:00:20

passed #494736
amd64 freebsd
unit:clang:freebsd12.0:amd64

00:00:21

passed #494733
amd64 linux
unit:clang:stretch:amd64

00:00:43

passed #494720
amd64 linux
unit:gcc:alpine3.10:amd64

00:00:43

passed #494731
amd64 linux
unit:gcc:bionic:amd64

00:00:37

passed #494726
amd64 linux
unit:gcc:buster:amd64

00:00:47

passed #494721
amd64 linux
unit:gcc:centos6:amd64

00:00:31

passed #494722
amd64 linux
unit:gcc:centos7:amd64

00:00:47

passed #494723
amd64 linux
unit:gcc:centos8:amd64

00:00:33

passed #494729
amd64 linux
unit:gcc:fedora31:amd64

00:00:48

passed #494724
amd64 linux
unit:gcc:jessie:amd64

00:00:17

passed #494727
amd64 linux
unit:gcc:sid:amd64

00:00:45

passed #494728
i386 linux
unit:gcc:sid:i386

00:00:45

passed #494725
amd64 linux
unit:gcc:stretch:amd64

00:00:43

passed #494730
amd64 linux
unit:gcc:xenial:amd64

00:00:45

passed #494737
amd64 linux
unit:nolibtool:sid:amd64

00:01:07

passed #494734
amd64 linux
unit:pkcs11:sid:amd64

00:00:45

 
  System
passed #494750
amd64 linux
system:asan:sid:amd64

00:08:47

passed #494752
amd64 freebsd
system:clang:freebsd11.3:amd64

00:07:12

passed #494915
freebsd amd64
system:clang:freebsd12.0:amd64

00:06:06

passed #494738
amd64 linux
system:gcc:alpine3.10:amd64

00:07:49

passed #494749
amd64 linux
system:gcc:bionic:amd64

00:07:41

passed #494827
linux amd64
system:gcc:buster:amd64

00:07:52

passed #494824
linux amd64
system:gcc:centos6:amd64

00:07:32

passed #494740
amd64 linux
system:gcc:centos7:amd64

00:08:40

passed #494741
amd64 linux
system:gcc:centos8:amd64

00:07:36

passed #494747
amd64 linux
system:gcc:fedora31:amd64

00:07:58

passed #494742
amd64 linux
system:gcc:jessie:amd64

00:07:14

passed #494825
linux amd64
system:gcc:sid:amd64

00:07:48

passed #494746
i386 linux
system:gcc:sid:i386

00:09:09

passed #494743
amd64 linux
system:gcc:stretch:amd64

00:07:53

passed #494748
amd64 linux
system:gcc:xenial:amd64

00:07:34

passed #494754
amd64 linux
system:nolibtool:sid:amd64

00:08:43

passed #494830
linux amd64
system:pkcs11:sid:amd64

00:07:41

failed #494906
amd64 freebsd
system:clang:freebsd12.0:amd64

00:06:43

failed #494823
freebsd amd64
system:clang:freebsd12.0:amd64

00:06:36

failed #494753
amd64 freebsd
system:clang:freebsd12.0:amd64

00:07:14

failed #494744
amd64 linux
system:gcc:buster:amd64

00:08:42

failed #494739
amd64 linux
system:gcc:centos6:amd64

00:09:04

failed #494745
amd64 linux
system:gcc:sid:amd64

00:08:10

failed #494751
amd64 linux
system:pkcs11:sid:amd64

00:08:55

 
  Docs
passed #494755
amd64 linux
docs:sid:amd64

00:01:02

 
  Postcheck
passed #494757
amd64 linux
cppcheck:gcc:sid:amd64

00:03:55

passed #494756
amd64 linux
scan-build:buster:amd64

00:12:56