On Thu, May 12, 2011 at 11:08:24AM +1000, Peter Hutterer wrote:
> On Wed, May 11, 2011 at 02:40:39PM -0700, Jamey Sharp wrote:
> > This is definitely an improvement.
> > 
> > Reviewed-by: Jamey Sharp <[email protected]>
> > 
> > I'd suggest weakening the post-conditions of version_compare though, to
> > match the semantics of functions like strcmp: If a is less than b,
> > promise only that the return value is something less than 0, and
> > similarly for greater. That permits an implementation that simply
> > returns (a - b), provided that a and b both fit in 31 bits.
> 
> amended, see patch below.
> I added your Reviewed-by tag too, even though there were a bit of changes,
> please re-confirm though.

Yup, still good! At least until an extension has a major version greater
than 32767. :-)

Thanks,
Jamey

Attachment: signature.asc
Description: Digital signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to