2013-08-23 Yaakov Selkowitz * cygcheck.cc (base_url): Add appropriate arch parameter. Index: cygcheck.cc =================================================================== RCS file: /cvs/src/src/winsup/utils/cygcheck.cc,v retrieving revision 1.139 diff -u -p -r1.139 cygcheck.cc --- cygcheck.cc 7 Jul 2013 16:57:11 -0000 1.139 +++ cygcheck.cc 23 Aug 2013 19:40:26 -0000 @@ -2129,7 +2129,11 @@ static const char safe_chars[] = "$-_.+! /* the URL to query. */ static const char base_url[] = - "http://cygwin.com/cgi-bin2/package-grep.cgi?text=1&grep="; +#ifdef __x86_64__ + "http://cygwin.com/cgi-bin2/package-grep.cgi?text=1&arch=x86_64&grep="; +#else + "http://cygwin.com/cgi-bin2/package-grep.cgi?text=1&arch=x86&grep="; +#endif /* Queries Cygwin web site for packages containing files matching a regexp. Return value is 1 if there was a problem, otherwise 0. */