wok annotate libsdl/stuff/sdl-1.2.14-joystick-crash.diff @ rev 16864
up qupzilla-locales
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sun Jul 13 07:46:17 2014 +0000 (2014-07-13) |
parents | |
children |
rev | line source |
---|---|
slaxemulator@8513 | 1 Description: Fix crash with joystick detection. |
slaxemulator@8513 | 2 Index: libsdl1.2-1.2.14/src/joystick/linux/SDL_sysjoystick.c |
slaxemulator@8513 | 3 =================================================================== |
slaxemulator@8513 | 4 --- libsdl1.2-1.2.14.orig/src/joystick/linux/SDL_sysjoystick.c 2010-01-12 12:37:36.000000000 -0500 |
slaxemulator@8513 | 5 +++ libsdl1.2-1.2.14/src/joystick/linux/SDL_sysjoystick.c 2010-01-12 12:38:27.000000000 -0500 |
slaxemulator@8513 | 6 @@ -700,7 +700,7 @@ |
slaxemulator@8513 | 7 continue; |
slaxemulator@8513 | 8 } |
slaxemulator@8513 | 9 if ( test_bit(i, absbit) ) { |
slaxemulator@8513 | 10 - int values[5]; |
slaxemulator@8513 | 11 + int values[6]; |
slaxemulator@8513 | 12 |
slaxemulator@8513 | 13 if ( ioctl(fd, EVIOCGABS(i), values) < 0 ) |
slaxemulator@8513 | 14 continue; |