Module Name: src Committed By: pgoyette Date: Wed Dec 8 00:09:14 UTC 2010
Modified Files: src/sys/dev/sysmon: sysmon_envsys.c sysmon_envsys_events.c Log Message: When removing properties (as in envstat -S), clear the flags that track whether the properties actually exist. When setting new limit values, don't complain/ignore about duplicate values if the associated flag bits (indicating that the limit is valid) are not set. These two fixes together should fix a problem reported in private Email by njoly@ a couple months ago. Issue replicated and solution tested using my recent swsensor pseudo-device running inside qemu world! To generate a diff of this commit: cvs rdiff -u -r1.107 -r1.108 src/sys/dev/sysmon/sysmon_envsys.c cvs rdiff -u -r1.94 -r1.95 src/sys/dev/sysmon/sysmon_envsys_events.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.