Hi!

On Thu, 2015-01-29 at 09:42:11 +0100, Tomas Pospisek wrote:
> Package: dpkg
> Version: 1.17.23
> Severity: wishlist
> Tags: patch

> I've expanded the dpkg man page section on --compare-versions as
> follows:
> 
>   --compare-versions ver1 op ver2
>       ...
>       ... These are provided only for compatibility with control file syntax:
>       < << <= = >= >> >, are deprecated and should not be used, due to
>       confusing semantics.  To illustrate: 0.1 < 0.1 evaluates as true.

> I've spend an hour or two before figuring out, that it was the weird '<' '>'
> semantics that is "broken". So I'd be glad if you could include more
> explicit documentation of the problem and spare others wasting their time
> debuging the fallout of these particular semantics.

Right, I'm marking '<' and '>' as deprecated there, and making the code
issue a warning in the same way the control file parser is doing.

I don't think the rest of the operators deserve to be deprecated
though.

Thanks,
Guillem


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to