Re: apmd fixes

2001-10-14 Thread Andrew R. Reiter
While fixing/adding that, might as well go ahead and fix the signal handler enque_signal(). I don't believe using err() in in a signal handler is recommended as it could possible allow for undefined behavior to occur. Andrew On Sun, 14 Oct 2001, Walter C. Pelissero wrote: :Here are a couple

apmd fixes

2001-10-14 Thread Walter C. Pelissero
Here are a couple of patches to apmd (as of FreeBSD 4.4-STABLE) to fix a bug and add a feature necessary on my Vaio PCG-XG9. The fix is to handle properly termination signals (currently ignored). The feature is the -s option that lets you fake POWERSTATECHANGE when the BIOS doesn't report it. T