From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 87737 invoked by alias); 23 Jul 2015 19:51:02 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 87727 invoked by uid 89); 23 Jul 2015 19:51:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 23 Jul 2015 19:51:00 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 74BECA80969; Thu, 23 Jul 2015 21:50:58 +0200 (CEST) Date: Thu, 23 Jul 2015 19:51:00 -0000 From: Corinna Vinschen To: cygwin-apps@cygwin.com Subject: Re: upset, genini: different version ordering Message-ID: <20150723195058.GV3864@calimero.vinschen.de> Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com References: <20150721065556.GY3864@calimero.vinschen.de> <87r3o1phtw.fsf@Rainer.invalid> <20150721184914.GE3864@calimero.vinschen.de> <87mvyppbmf.fsf@Rainer.invalid> <20150722094350.GI3864@calimero.vinschen.de> <87zj2okvts.fsf@Rainer.invalid> <20150723095942.GO3864@calimero.vinschen.de> <877fpqztqx.fsf@Rainer.invalid> <20150723191707.GA29274@calimero.vinschen.de> <874mkufywd.fsf@Rainer.invalid> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HJXn/kF6DSjhJ2mL" Content-Disposition: inline In-Reply-To: <874mkufywd.fsf@Rainer.invalid> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-07/txt/msg00184.txt.bz2 --HJXn/kF6DSjhJ2mL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1690 On Jul 23 21:37, Achim Gratz wrote: > Corinna Vinschen writes: > > Yes. In the function itself prematch is generated from some regex if > > it's not given as parameter. There are three places calling Normalize, > > two of them with a 2nd parameter. > > > > On closer inspection it seems there's already some provisioning for > > different versioning schemes. At one point the second parameter > > is constructed from an entry in setup.hint called "verpat" and a keyword > > "verpat" is recognized for that. If "verpat: ,,," is not given for a p= ackage, > > the pattern used as 2nd parameter is set to the package name, a dash, > > followed by any character string, >=20 > Any character string or starting with a digit? Any string. I guess that works because the string prefix is fixed. It's the name of the package. > > I'm really sorry, but AFAICS the code should be able to win the > > obfuscated perl contest hands down. No noticable commenting either. >=20 > https://www.unix-ag.uni-kl.de/~conrad/shocc/xd3.html#nr288 >=20 > Perl that doesn't look like line noise even to the person that wrote it > four weeks ago is inefficient. :-) Argh! > > We could really need help from somebody knowing perl well enough > > to understand and describe code :} >=20 > I'd rather write new code when the objectives can be agreed upon. New code as in "new version checks for upset"? Or as in "new upset from scratch"? Still, it would be helpful to have some perl guru understanding the code being able to describe it to a coder. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --HJXn/kF6DSjhJ2mL Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVsUWiAAoJEPU2Bp2uRE+gQhEP/RlDT+/CxOsRa0yqQFF4QTvf nj6fGuhSSbiYGl1E9Xe4hCtBpx9YSqM1qx9ilkEUr+/2fWHP9DRc4tK1NSNnDm0p mvBlLVEW77VBCDFY3m+vFUquMBZrmhQh7YbUOpslkXNOeyZkuXGWdD0C4v73zXWI SDjhj3zHqwrM5wBwdTDcj2ANqXdICntuPut5Y7G8w6jvDQv1MLWQ7Vvin+0RXpZJ HYsBbjUwGovMfzdITaootchnZakOSdsowfIs9oGkgHCR6BKsCtHvvmvX6O7dlPeV q/jlRsyPX84Ap+0m2+RgyICfeUbWVn5G4E6hDx65L7gAoqgC6jbcouMBvsLCQ6W7 54kQ6m2339/u+N3FH9RN1MPkshQjeJcvMxpbVhseC7n33H5tXs51KdgTQeWUCvcb k9+NoTYgdqO2C4P33gYRS3k9z9/fK5jpVBfwuNJvczbwJ8epDpt63i320Dm8jXZH sg9CBvpHx22kdHVn307FW/oeLZ0tSmpSOcutls0LaWCKerKsUJXdDTbCuVh31xZS SQcWkRXN//nYjG0E5ItPq9iLwm0aCMMibFrgrSaU8q0BCmIntmrY+TitPBzxAtfK pgKV6GE44W5JTD2ASoAH5fh2n9O3hIkeoZ2DeOHdkZsJ//euS0LLmtNjAcc/6Opj 7GS4+wAIVpmyJfrBSKXx =K8E/ -----END PGP SIGNATURE----- --HJXn/kF6DSjhJ2mL--