All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.

Consequences of the breakage, because the return value is being cast to the wrong enum, Second Life does not give OS X the go ahead to shutdown the viewer during OS reboots and system/driver updates. In many cases, such as input failure, this makes it impossible to restart the computer without resorting to a hard reboot.