Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/usbhidaction



Module Name:    src
Committed By:   dsainty
Date:           Sat Jul  2 04:05:09 UTC 2005

Modified Files:
        src/usr.bin/usbhidaction: usbhidaction.c

Log Message:
By setting close-on-exec on the USB HID device descriptor, prevent passing an
extraneous descriptor to the command defined as the action to take on a
particular HID event.

This also avoids an unfortunate side-effect: killing and restarting
usbhidaction would sometimes fail because of a lingering open descriptor for
the same device on a process executed by the previous run of usbhidaction.

[OK'd by Lennart]


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 src/usr.bin/usbhidaction/usbhidaction.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index