From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 17 Dec 2006 19:15:01 +0300 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20061217161501.GF6148@localhost.localdomain> Mail-Followup-To: ALT Devel discussion list References: <20061010153903.GA14460@basalt.office.altlinux.org> <20061010155251.GF8008@localhost.localdomain> <20061010221127.GB26619@basalt.office.altlinux.org> <20061011001636.GQ8008@localhost.localdomain> <20061207225233.GA14226@nomad.office.altlinux.org> <20061214234038.GH13476@localhost.localdomain> <20061215012503.GK13476@localhost.localdomain> <20061217134340.GA6148@localhost.localdomain> <20061217141414.GD6148@localhost.localdomain> <20061217160933.GE6148@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="S5HS5MvDw4DmbRmb" Content-Disposition: inline In-Reply-To: <20061217160933.GE6148@localhost.localdomain> Subject: Re: [devel] [PATCH] apt virtual packages X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Dec 2006 16:15:17 -0000 Archived-At: List-Archive: List-Post: --S5HS5MvDw4DmbRmb Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 17, 2006 at 07:09:33PM +0300, Alexey Tourbin wrote: > On Sun, Dec 17, 2006 at 05:14:14PM +0300, Alexey Tourbin wrote: > > On Sun, Dec 17, 2006 at 04:43:40PM +0300, Alexey Tourbin wrote: > > > +static inline bool > > > +vercmpOrder(const pkgCache::VerIterator &a, const pkgCache::VerItera= tor &b) > > > +{ > > > + return a.CompareVer(b) < 0; > > > +} > >=20 > > =EB=D3=D4=C1=D4=C9 =D7=CF=D4 =D4=D5=D4 =C4=CF=CC=D6=CE=CF =C2=D9=D4=D8 = "<" =C9=CC=C9 "<=3D"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= =CF=CC=D1=C5=D4. > (!=3D)(a,b) :=3D !(a=3D=3Db) > (<)(a,b) :=3D (a<=3Db)&&(a!=3Db) > (>)(a,b) :=3D (a>=3Db)&&(a!=3Db) --S5HS5MvDw4DmbRmb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFhW0FfBKgtDjnu0YRAmnwAJ9DsFC+dU/3S6Ntff34xtXW5PFmGACcCR6K jTFqnyhMw7H1bitIDiCTIVM= =jmfz -----END PGP SIGNATURE----- --S5HS5MvDw4DmbRmb--