The source of this problem seem to be that libsysfs changed/removed
function calls and structs from their API.  The sysfs_directory struct
is missing, and the sysfs_read_all_subdirs() function call no longer
exist in libsysfs version 2.0.0-4.

I'm not quite sure how to rewrite the code in question to work with
the changed libsysfs API.  I find it slightly amusing that the
libsysfs documentation reports that "Libsysfs is meant to provide a
stable application programming interface to sysfs", while they break
backwards compatibility. :/

Anyway, I believe the code in hwinfo-8.38/src/hd/edd.c need a complete
rewrite to work with the new libsysfs. :(

Friendly,
-- 
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to