diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2020-07-06 03:39:12 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2020-07-10 01:36:07 +0200 |
commit | abb6c01519a0318d7165dc9dc5b7d185353f93d6 (patch) | |
tree | 3b6fa1fc13fba77efc13ee3283c3e6c145bd4252 /solenv/gbuild | |
parent | 493ae7a6bb0c3ad50615db0090e7ae8d391bc327 (diff) |
replace usage of whitelist with allowlist
Background and motivation:
https://tools.ietf.org/html/draft-knodel-terminology-02
[API CHANGE] officecfg::Office::Common::Misc::OpenCLWhiteList -> OpenCLAllowList
Change-Id: I65636b19b13e4af1e4851f70e78053f3443d6bb1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98181
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'solenv/gbuild')
-rwxr-xr-x | solenv/gbuild/platform/filter-showIncludes.awk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/solenv/gbuild/platform/filter-showIncludes.awk b/solenv/gbuild/platform/filter-showIncludes.awk index b8a1db052701..7803e376c9ed 100755 --- a/solenv/gbuild/platform/filter-showIncludes.awk +++ b/solenv/gbuild/platform/filter-showIncludes.awk @@ -32,9 +32,9 @@ BEGIN { showincludes_prefix = "Note: including file:" } - # to match especially drive letters in whitelist case insensitive + # to match especially drive letters in allowlist case insensitive IGNORECASE = 1 - whitelist = \ + allowlist = \ "^(" ENVIRON["SRCDIR"] "|" ENVIRON["WORKDIR"] ")" firstline = 1 } @@ -54,7 +54,7 @@ BEGIN { gsub(/\\/, "/") gsub(/ /, "\\ ") - if ($0 ~ whitelist) { # filter out system headers + if ($0 ~ allowlist) { # filter out system headers if (!($0 in incfiles)) { incfiles[$0] print " " $0 " \\" > tempfile |