Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2023-02-11 14:58:13 +0300
committerCorinna Vinschen <corinna@vinschen.de>2023-02-11 14:58:13 +0300
commitf307fefe16da6134d1a3caa2ccebabdfdb1eb773 (patch)
tree866e939de6da8eb96991911484ae01507412f051 /winsup/utils
parentb030a77dff515a857cf60bfc53a2a5e5e239cbb2 (diff)
Cygwin: cygcheck: fix default info selector evaluation
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/utils')
-rw-r--r--winsup/utils/mingw/cygcheck.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/utils/mingw/cygcheck.cc b/winsup/utils/mingw/cygcheck.cc
index b5bad4ec2..9d6f19203 100644
--- a/winsup/utils/mingw/cygcheck.cc
+++ b/winsup/utils/mingw/cygcheck.cc
@@ -2645,7 +2645,7 @@ package_info (char **search, int selector)
return 1;
if ((selector & INFO_ALL) == 0)
- selector = INFO_ALL;
+ selector |= INFO_ALL;
inst_pkgs = get_installed_packages (NULL, &inst_pkg_count);