hal/hald/linux2/probing probe-volume.c,1.21,1.22
Kay Sievers
kay at freedesktop.org
Mon Nov 14 19:32:38 PST 2005
- Previous message: hal ChangeLog,1.685,1.686
- Next message: hal/volume_id Makefile.am, 1.8, 1.9 cramfs.c, 1.5, 1.6 cramfs.h, 1.3,
NONE ext.c, 1.6, 1.7 ext.h, 1.3, NONE fat.c, 1.8, 1.9 fat.h,
1.3, NONE hfs.c, 1.6, 1.7 hfs.h, 1.3, NONE highpoint.c, 1.7,
1.8 highpoint.h, 1.4, NONE hpfs.c, 1.5, 1.6 hpfs.h, 1.3,
NONE iso9660.c, 1.7, 1.8 iso9660.h, 1.3, NONE isw_raid.c, 1.5,
1.6 isw_raid.h, 1.3, NONE jfs.c, 1.6, 1.7 jfs.h, 1.3,
NONE linux_raid.c, 1.7, 1.8 linux_raid.h, 1.3,
NONE linux_swap.c, 1.6, 1.7 linux_swap.h, 1.3, NONE lsi_raid.c,
1.4, 1.5 lsi_raid.h, 1.3, NONE luks.c, 1.7, 1.8 luks.h, 1.4,
NONE lvm.c, 1.7, 1.8 lvm.h, 1.3, NONE mac.c, 1.7, 1.8 mac.h,
1.3, NONE minix.c, 1.4, 1.5 minix.h, 1.3, NONE msdos.c, 1.6,
1.7 msdos.h, 1.3, NONE ntfs.c, 1.7, 1.8 ntfs.h, 1.3,
NONE nvidia_raid.c, 1.4, 1.5 nvidia_raid.h, 1.3, NONE ocfs.c,
1.1, 1.2 ocfs.h, 1.1, NONE promise_raid.c, 1.4,
1.5 promise_raid.h, 1.3, NONE reiserfs.c, 1.8, 1.9 reiserfs.h,
1.3, NONE romfs.c, 1.6, 1.7 romfs.h, 1.3, NONE silicon_raid.c,
1.4, 1.5 silicon_raid.h, 1.3, NONE sysv.c, 1.6, 1.7 sysv.h,
1.3, NONE udf.c, 1.6, 1.7 udf.h, 1.3, NONE ufs.c, 1.6,
1.7 ufs.h, 1.3, NONE util.h, 1.8, 1.9 via_raid.c, 1.4,
1.5 via_raid.h, 1.3, NONE volume_id.c, 1.12, 1.13 volume_id.h,
1.11, 1.12 vxfs.c, 1.1, 1.2 vxfs.h, 1.1, NONE xfs.c, 1.6,
1.7 xfs.h, 1.3, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/hal/hal/hald/linux2/probing
In directory gabe:/tmp/cvs-serv2223/hald/linux2/probing
Modified Files:
probe-volume.c
Log Message:
2005-11-15 Kay Sievers <kay.sievers at vrfy.org>
libvolume_id: sync with udev version and prepare
for a possible future external dependency.
* hald/linux2/probing/probe-volume.c: (advanced_disc_detect): Switch
to glib function instead of the volume_id private ones.
* volume_id/Makefile.am: Merge individual headers into the main
public header.
* volume_id/cramfs.c:
* volume_id/cramfs.h:
* volume_id/ext.c:
* volume_id/ext.h:
* volume_id/fat.c:
* volume_id/fat.h:
* volume_id/hfs.c:
* volume_id/hfs.h:
* volume_id/highpoint.c:
* volume_id/highpoint.h:
* volume_id/hpfs.c:
* volume_id/hpfs.h:
* volume_id/iso9660.c:
* volume_id/iso9660.h:
* volume_id/isw_raid.c:
* volume_id/isw_raid.h:
* volume_id/jfs.c:
* volume_id/jfs.h:
* volume_id/linux_raid.c:
* volume_id/linux_raid.h:
* volume_id/linux_swap.c:
* volume_id/linux_swap.h:
* volume_id/lsi_raid.c:
* volume_id/lsi_raid.h:
* volume_id/luks.c:
* volume_id/luks.h:
* volume_id/lvm.c:
* volume_id/lvm.h:
* volume_id/mac.c:
* volume_id/mac.h:
* volume_id/minix.c:
* volume_id/minix.h:
* volume_id/msdos.c:
* volume_id/msdos.h:
* volume_id/ntfs.c:
* volume_id/ntfs.h:
* volume_id/nvidia_raid.c:
* volume_id/nvidia_raid.h:
* volume_id/ocfs.c:
* volume_id/ocfs.h:
* volume_id/promise_raid.c:
* volume_id/promise_raid.h:
* volume_id/reiserfs.c:
* volume_id/reiserfs.h:
* volume_id/romfs.c:
* volume_id/romfs.h:
* volume_id/silicon_raid.c:
* volume_id/silicon_raid.h:
* volume_id/sysv.c:
* volume_id/sysv.h:
* volume_id/udf.c:
* volume_id/udf.h:
* volume_id/ufs.c:
* volume_id/ufs.h:
* volume_id/util.h:
* volume_id/via_raid.c:
* volume_id/via_raid.h:
* volume_id/volume_id.c:
* volume_id/volume_id.h:
* volume_id/vxfs.c:
* volume_id/vxfs.h:
* volume_id/xfs.c:
* volume_id/xfs.h:
Index: probe-volume.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux2/probing/probe-volume.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- probe-volume.c 9 Nov 2005 18:54:40 -0000 1.21
+++ probe-volume.c 15 Nov 2005 03:32:36 -0000 1.22
@@ -50,10 +50,6 @@
#include "drive_id/drive_id.h"
#include "volume_id/volume_id.h"
-#include "volume_id/logging.h"
-#include "volume_id/msdos.h"
-#include "volume_id/util.h"
-
#include "linux_dvd_rw_utils.h"
#include "shared.h"
@@ -205,10 +201,10 @@
}
/* seek to the path table */
- lseek (fd, le16_to_cpu(bs) * le32_to_cpu (tl), SEEK_SET);
+ lseek (fd, GUINT16_FROM_LE (bs) * GUINT32_FROM_LE (tl), SEEK_SET);
/* loop through the path table entriesi */
- while (pos < le16_to_cpu (ts))
+ while (pos < GUINT16_FROM_LE (ts))
{
/* get the length of the filename of the current entry */
if (read (fd, &len_di, 1) != 1)
@@ -244,7 +240,7 @@
/* if we found a folder that has the root as a parent, and the directory name matches
one of the special directories then set the properties accordingly */
- if (le16_to_cpu (parent) == 1)
+ if (GUINT16_FROM_LE (parent) == 1)
{
if (!strcmp (dirname, "VIDEO_TS"))
{
- Previous message: hal ChangeLog,1.685,1.686
- Next message: hal/volume_id Makefile.am, 1.8, 1.9 cramfs.c, 1.5, 1.6 cramfs.h, 1.3,
NONE ext.c, 1.6, 1.7 ext.h, 1.3, NONE fat.c, 1.8, 1.9 fat.h,
1.3, NONE hfs.c, 1.6, 1.7 hfs.h, 1.3, NONE highpoint.c, 1.7,
1.8 highpoint.h, 1.4, NONE hpfs.c, 1.5, 1.6 hpfs.h, 1.3,
NONE iso9660.c, 1.7, 1.8 iso9660.h, 1.3, NONE isw_raid.c, 1.5,
1.6 isw_raid.h, 1.3, NONE jfs.c, 1.6, 1.7 jfs.h, 1.3,
NONE linux_raid.c, 1.7, 1.8 linux_raid.h, 1.3,
NONE linux_swap.c, 1.6, 1.7 linux_swap.h, 1.3, NONE lsi_raid.c,
1.4, 1.5 lsi_raid.h, 1.3, NONE luks.c, 1.7, 1.8 luks.h, 1.4,
NONE lvm.c, 1.7, 1.8 lvm.h, 1.3, NONE mac.c, 1.7, 1.8 mac.h,
1.3, NONE minix.c, 1.4, 1.5 minix.h, 1.3, NONE msdos.c, 1.6,
1.7 msdos.h, 1.3, NONE ntfs.c, 1.7, 1.8 ntfs.h, 1.3,
NONE nvidia_raid.c, 1.4, 1.5 nvidia_raid.h, 1.3, NONE ocfs.c,
1.1, 1.2 ocfs.h, 1.1, NONE promise_raid.c, 1.4,
1.5 promise_raid.h, 1.3, NONE reiserfs.c, 1.8, 1.9 reiserfs.h,
1.3, NONE romfs.c, 1.6, 1.7 romfs.h, 1.3, NONE silicon_raid.c,
1.4, 1.5 silicon_raid.h, 1.3, NONE sysv.c, 1.6, 1.7 sysv.h,
1.3, NONE udf.c, 1.6, 1.7 udf.h, 1.3, NONE ufs.c, 1.6,
1.7 ufs.h, 1.3, NONE util.h, 1.8, 1.9 via_raid.c, 1.4,
1.5 via_raid.h, 1.3, NONE volume_id.c, 1.12, 1.13 volume_id.h,
1.11, 1.12 vxfs.c, 1.1, 1.2 vxfs.h, 1.1, NONE xfs.c, 1.6,
1.7 xfs.h, 1.3, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the hal-commit
mailing list