Bug 84228 - sysfsutils: libsysfs write_attribute bug if attribute is empty
|
Bug#:
84228
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: gregkh@gentoo.org
|
Reported By: linux@brodo.de
|
|
Component: Core system
|
|
|
URL:
|
|
Summary: sysfsutils: libsysfs write_attribute bug if attribute is empty
|
|
Keywords: InCVS
|
|
Status Whiteboard:
|
|
Opened: 2005-03-05 13:41 0000
|
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:
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.