Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#55760 - [lvm2] Upstream Suspicious condition reported

Attached to Project: Arch Linux
Opened by Reza Farrahi M (imriss) - Wednesday, 27 September 2017, 01:29 GMT
Last edited by Christian Hesse (eworm) - Thursday, 28 September 2017, 20:24 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Eric Belanger (Snowman)
Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
An upstream Suspicious condition reported. May require a sed line in PKGBUILD until it is fixed upstream.

Additional info:
* package version(s): lvm2 2.02.174
* config and/or log files etc.


Steps to reproduce:
https://bugzilla.redhat.com/show_bug.cgi?id=1493082

---
LVM2.2.02.174/tools/toollib.c:4467]: (style) Suspicious condition (assignment + comparison); To clarify expression with parentheses.

Source code is
if ((ret = _get_all_devices(cmd, &all_devices) != ECMD_PROCESSED)) {

Maybe better code
if ((ret = _get_all_devices(cmd, &all_devices)) != ECMD_PROCESSED) {
---

This task depends upon

Closed by  Christian Hesse (eworm)
Thursday, 28 September 2017, 20:24 GMT
Reason for closing:  Fixed
Additional comments about closing:  lvm2 2.02.174-2
Comment by Reza Farrahi M (imriss) - Thursday, 28 September 2017, 18:55 GMT

Loading...