hal/hald util.c,1.12,1.13

David Zeuthen david at freedesktop.org
Thu Mar 17 09:19:45 PST 2005


Update of /cvs/hal/hal/hald
In directory gabe:/tmp/cvs-serv29224/hald

Modified Files:
	util.c 
Log Message:
2005-03-17  David Zeuthen  <davidz at redhat.com>

	* hald/util.c (hal_util_grep_file): Remove some debug spewage

2005-03-17  Richard hughes  <richard at hughsie.com>

	* hald/linux2/apm.c (battery_refresh):
	Fix a typo, s/battery.charge_level/battery.charge_level.current
	so that matches ACPI (and HAL spec).

	* hald/linux2/addons/addon-hid-ups.c:
	Fix a typo, s/battery.is_charging/battery.rechargeable.is_charging
	so that matches ACPI (and HAL spec).

2005-03-17  David Zeuthen  <davidz at redhat.com>

	* tools/linux/hal_hotplug.c: We need to look for the
	sysfs_mount_path only if we read the ifindex from a network
	interface. This safes us from parsing the proc file with every
	hotplug event. From Kay Sievers <kay.sievers at vrfy.org>.



Index: util.c
===================================================================
RCS file: /cvs/hal/hal/hald/util.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- util.c	16 Mar 2005 02:58:02 -0000	1.12
+++ util.c	17 Mar 2005 17:19:43 -0000	1.13
@@ -695,7 +695,7 @@
 
 	if (_grep_can_reuse && reuse && strcmp (oldfilename, filename) == 0) {
 		/* just reuse old file; e.g. bufsize, buf */
-		HAL_INFO (("hal_util_grep_file: reusing buf for %s", filename));
+		/*HAL_INFO (("hal_util_grep_file: reusing buf for %s", filename));*/
 	} else {
 		FILE *f;
 
@@ -706,7 +706,7 @@
 		buf[bufsize] = '\0';
 		fclose (f);
 
-		HAL_INFO (("hal_util_grep_file: read %s of %d bytes", filename, bufsize));
+		/*HAL_INFO (("hal_util_grep_file: read %s of %d bytes", filename, bufsize));*/
 	}
 
 	/* book keeping */




More information about the hal-commit mailing list