-
Committer:
Bazaar Package Importer
-
Author(s):
Stephen Kitt
-
Date:
2009-10-12 15:12:52 UTC
-
mfrom:
(3.1.4 squeeze)
-
Revision ID:
james.westby@ubuntu.com-20091012151252-za48nd35nfruacfx
Tags: 20051019-9
* Handle the various buffer sizes expected in kernels 2.6.27 to 2.6.30.8
(2.6.28 changed the value of KEY_MAX, which changed the definition of
a joystick-related ioctl; 2.6.31 fixed the problem by handling any
buffer size - see ec8b4b7085605e801a7740a2c3c33256aebe249c in the
kernel git repository, which was also shipped in 2.6.30.8). Correctly
closes: #536013. Thanks to Krzysztof A. Sobiecki for help determining
the actual cause of the behaviour seen in jstest!
* Avoid treating positive return values from ioctl() as errors; kernels
starting with 2.6.32 return buffer sizes in some cases (see
999b874f4aa39b7abf45662ff0900f943ddb2d02 in the kernel git
repository).
* Standards-Version 3.8.3, no change required.
* initscript stops in level 1 as well as 0 and 6. Note that the
initscript will be going away soon, see #540680.