ioctl: Fix for MacOS X in 64-bit mode.
authorBruno Haible <bruno@clisp.org>
Tue, 22 Feb 2011 23:01:03 +0000 (00:01 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 22 Feb 2011 23:01:03 +0000 (00:01 +0100)
commit95d83dbbfafaabc980a74102f4b3d9ec9b950dd3
tree9c782a89325fc41c5a1e1421582e4bfd27201a02
parent7e1bc3bdd19e270d6672160ed1b90b9e176292e6
ioctl: Fix for MacOS X in 64-bit mode.

* lib/ioctl.c (rpl_ioctl): Zero-extend, not sign-extend, the request
value.
Suggested by Eric Blake.
Reported by Markus Gothe <nietzsche@lysator.liu.se>.
ChangeLog
lib/ioctl.c