| Summary: | sys-power/apcupsd-3.14.12 on ARM - apcaccess parameter parser does not return negative number if parameter is not found | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | David Flogeras <dflogeras2> |
| Component: | [OLD] Core system | Assignee: | Matthew Marlowe (RETIRED) <mattm> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | base-system |
| Priority: | Normal | Keywords: | PATCH |
| Version: | unspecified | ||
| Hardware: | ARM | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Fix for apcaccess command line parsing on ARM | ||
|
Description
David Flogeras
2014-06-27 15:19:14 UTC
Created attachment 379796 [details, diff]
Fix for apcaccess command line parsing on ARM
Do we know if this patch is good for all arches or should only be applied when compiling for ARM? In general, gentoo prefers to patch upstream sources only when patches are applicable to all arches. (In reply to Matthew Marlowe from comment #2) > Do we know if this patch is good for all arches or should only be applied > when compiling for ARM? Yup, it is the correct implementation for all arches. According to the dev "I've fixed the code to treat getopt() return value as int, which is what it always should have done." Irrelevant now that the 3.14.13 ebuild entered the tree. Closing |