The check in libsysfs::write_attribute() which tests whether the value to be written into a sysfs attribute is already there should only trigger if the length of both strings is the same. This patch, already accepted by upstream for sysfsutils-1.4.0, is needed for pcmciautils to work correctly. Reproducible: Always Steps to Reproduce:
Created attachment 52742 [details, diff] patch for libsysfs-1.2.0
Created attachment 52743 [details] ebuild for sysfsutils-1.2.0-r1
Greg, can we get this patch merged into portage? It's the only issue holding back the addition of pcmciautils to portage (bug #84234). If you want, I can add the patch and do the revision bump of sysfsutils.
Sorry, feel free to do it yourself, haven't had much gentoo specific time lately :(
Added write_attribute() patch to sys-fs/sysfsutils-1.2.0-r1. Thanks.