• Mike Gabriel's avatar
    include: add version_compare helper function · 19ebd772
    Mike Gabriel authored
     Backported from X.org:
    
     commit 0df871cf34ee5f1a85586206027de9b02fb364ec
     Author: Robert Ancell <robert.ancell@canonical.com>
     Date:   Thu May 22 10:43:52 2014 +1200
    
        Fix overflow checking extension versions
    
        The easiest way to check for the version of an extension is to send the maximum
        possible version numbers in the QueryVersion request. The X server overflows on
        these as it assumes you will send a reasonable version number.
    Reviewed-by: 's avatarKeith Packard <keithp@keithp.com>
    Signed-off-by: 's avatarKeith Packard <keithp@keithp.com>
    
     commit ffd4874798ba54f86acac75779a15b4babeaa5f3
     Author: Peter Hutterer <peter.hutterer@who-t.net>
     Date:   Wed May 11 12:20:50 2011 +1000
    
        include: add version_compare helper function
    
        Compare two version numbers in the major.minor form.
        Switch the few users of manual version switching over to the new function.
    Signed-off-by: 's avatarPeter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: 's avatarJamey Sharp <jamey@minilop.net>
    
     Backport to nx-libs: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
    19ebd772
Name
Last commit
Last update
bin Loading commit data...
debian Loading commit data...
doc Loading commit data...
etc Loading commit data...
nx-X11 Loading commit data...
nxcomp Loading commit data...
nxcompext Loading commit data...
nxcompshad Loading commit data...
nxproxy Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Makefile Loading commit data...
README.NX-development Loading commit data...
README.keystrokes Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...
VERSION.x2goagent Loading commit data...
fix-patch-whitespace Loading commit data...
nx-libs.spec Loading commit data...
replace.sh Loading commit data...
version.sh Loading commit data...
x2goagent.features Loading commit data...