Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 209405 Details for
Bug 291956
sys-power/acpi-1.4 gives floating point exception when battery voltage is null - ebuild and patch provided
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch that avoids the FPE
voltage_zero_FPE.patch (text/plain), 346 bytes, created by
po.valles
on 2009-11-06 11:04:33 UTC
(
hide
)
Description:
patch that avoids the FPE
Filename:
MIME Type:
Creator:
po.valles
Created:
2009-11-06 11:04:33 UTC
Size:
346 bytes
patch
obsolete
>--- acpi.c 2009-03-23 15:23:12.000000000 +0000 >+++ acpi.c.patched 2009-11-05 09:38:25.000000000 +0000 >@@ -303,6 +303,9 @@ > state = value->value; > } else if (!strcmp(value->attr, "voltage_now")) { > voltage = get_unit_value(value->value) / 1000; >+ if (voltage == 0 ) { >+ voltage = -1; >+ } > } > fields = list_next(fields); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 291956
:
209306
|
209308
|
209338
| 209405 |
209406