André Hentschel : winemenubuilder: Change blacklist to a more neutral word.
Alexandre Julliard
julliard at winehq.org
Wed Jun 17 15:54:03 CDT 2020
Module: wine
Branch: master
Commit: d0a24609fe1f5d1801415c0b0810e968974ac1ba
URL: https://source.winehq.org/git/wine.git/?a=commit;h=d0a24609fe1f5d1801415c0b0810e968974ac1ba
Author: André Hentschel <nerv at dawncrow.de>
Date: Wed Jun 17 13:33:20 2020 +0200
winemenubuilder: Change blacklist to a more neutral word.
Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
programs/winemenubuilder/winemenubuilder.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/winemenubuilder/winemenubuilder.c b/programs/winemenubuilder/winemenubuilder.c
index d6fc9e2923..ee53619bb9 100644
--- a/programs/winemenubuilder/winemenubuilder.c
+++ b/programs/winemenubuilder/winemenubuilder.c
@@ -2470,7 +2470,7 @@ static BOOL write_freedesktop_mime_type_entry(const char *packages_dir, const ch
return ret;
}
-static BOOL is_extension_blacklisted(LPCWSTR extension)
+static BOOL is_extension_banned(LPCWSTR extension)
{
/* These are managed through external tools like wine.desktop, to evade malware created file type associations */
static const WCHAR comW[] = {'.','c','o','m',0};
@@ -2564,7 +2564,7 @@ static BOOL generate_associations(const char *xdg_data_home, const char *package
size *= 2;
} while (ret == ERROR_MORE_DATA);
- if (ret == ERROR_SUCCESS && extensionW[0] == '.' && !is_extension_blacklisted(extensionW))
+ if (ret == ERROR_SUCCESS && extensionW[0] == '.' && !is_extension_banned(extensionW))
{
char *extensionA = NULL;
WCHAR *commandW = NULL;
More information about the wine-cvs
mailing list