build-scripts/showrev.sh
author Sam Lantinga <slouken@libsdl.org>
Tue, 19 Apr 2011 08:08:50 -0700
changeset 5539 b305e3c2d2e7
parent 4935 a727eda441be
child 10420 0d91817f35e9
permissions -rwxr-xr-x
Fixed: Windows always fails with SDL_HapticOpenFromJoystick

The windows function SDL_SYS_HapticOpenFromJoystick fails because DIDEVICEINSTANCE joy_instance does not have its dwSize field initialized. The attached patch includes the fix along with a fix for two similar problems.

Daniel Heath
     1 #!/bin/sh
     2 #
     3 # Print the current source revision, if available
     4 
     5 # FIXME: this prints the tip, which isn't useful if you're on a different
     6 #  branch, or just not sync'd to the tip.
     7 hg tip --template 'hg-{rev}:{node|short}' || (echo "hg-0:baadf00d"; exit 1)