diff options
author | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2019-01-18 08:56:59 +0000 |
---|---|---|
committer | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2019-01-31 10:13:05 +0000 |
commit | 352db3e62aab207d4e351d7462a2d6f19464bc7a (patch) | |
tree | 1ff2d3e4d794f6355ba159e761556f4f734ec7bc /package/network/services/dnsmasq/patches/0007-Do-not-rely-on-dead-code-elimination-use-array-inste.patch | |
parent | 40bb2ae211c717989eb85cbfe31a8c595e684209 (diff) | |
download | upstream-352db3e62aab207d4e351d7462a2d6f19464bc7a.tar.gz upstream-352db3e62aab207d4e351d7462a2d6f19464bc7a.tar.bz2 upstream-352db3e62aab207d4e351d7462a2d6f19464bc7a.zip |
dnsmasq: latest pre-2.81 patches
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Diffstat (limited to 'package/network/services/dnsmasq/patches/0007-Do-not-rely-on-dead-code-elimination-use-array-inste.patch')
-rw-r--r-- | package/network/services/dnsmasq/patches/0007-Do-not-rely-on-dead-code-elimination-use-array-inste.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/dnsmasq/patches/0007-Do-not-rely-on-dead-code-elimination-use-array-inste.patch b/package/network/services/dnsmasq/patches/0007-Do-not-rely-on-dead-code-elimination-use-array-inste.patch index c1c674fbfb..79347920dc 100644 --- a/package/network/services/dnsmasq/patches/0007-Do-not-rely-on-dead-code-elimination-use-array-inste.patch +++ b/package/network/services/dnsmasq/patches/0007-Do-not-rely-on-dead-code-elimination-use-array-inste.patch @@ -1,7 +1,7 @@ From 24b87607c1353e94689e8a2190571ab3f3b36f31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik@redhat.com> Date: Wed, 24 Oct 2018 22:30:18 +0100 -Subject: [PATCH 07/30] Do not rely on dead code elimination, use array +Subject: [PATCH 07/32] Do not rely on dead code elimination, use array instead. Make options bits derived from size and count. Use size of option bits and last supported bit in computation. No new change would be required when new options are added. Just change OPT_LAST constant. |