hal/hald/linux/libsysfs sysfs.h,1.2.2.1,1.2.2.2

David Zeuthen david at freedesktop.org
Fri Jan 21 07:46:57 PST 2005


Update of /cvs/hal/hal/hald/linux/libsysfs
In directory gabe:/tmp/cvs-serv9479/hald/linux/libsysfs

Modified Files:
      Tag: hal-0_4-stable-branch
	sysfs.h 
Log Message:
2005-01-21  David Zeuthen  <davidz at redhat.com>

	* tools/fstab-sync.c (remove_udi): Check for return value to
	avoid dereferencing a NULL pointer

	* hald/linux/block_class_device.c (block_class_pre_process): Only
	do drive_id real SCSI since doing an INQUIRY on USB devices may
	crash the device if the transfer length is not exactly 36 bytes.

	* hald/linux/libsysfs/sysfs.h: Remove the #define DEBUG symbol
	again

	* hald/Makefile.am (hald_SOURCES): Add linux/pcmcia_bus_device.c

	* hald/linux/pcmcia_bus_device.c: New file

	* hald/linux/osspec.c: Add support for 16-bit PCMCIA in sysfs;
	without this hald won't work for 16-bit PCMCIA cards and a 
	kernel with sysfs support for those.



Index: sysfs.h
===================================================================
RCS file: /cvs/hal/hal/hald/linux/libsysfs/Attic/sysfs.h,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -u -d -r1.2.2.1 -r1.2.2.2
--- sysfs.h	20 Jan 2005 17:03:54 -0000	1.2.2.1
+++ sysfs.h	21 Jan 2005 15:46:55 -0000	1.2.2.2
@@ -37,7 +37,6 @@
 extern int isascii(int c);
 
 /* Debugging */
-#define DEBUG
 #ifdef DEBUG
 #define dprintf(format, arg...) fprintf(stderr, format, ## arg)
 #else




More information about the hal-commit mailing list