Opened 4 weeks ago

Closed 4 weeks ago

#1465 closed defect (fixed)

Use of wrong devicename in autodetection unter OpenBSD

Reported by: Martin Ziemer Owned by: Christian Franke
Priority: major Milestone: Release 7.3
Component: all Version: 7.2
Keywords: openbsd Cc:

Description

In os_openbsd.cpp in openbsd_smart_interface::autodetect_smart_device the type is guessed by the devicename. To check this, the devicename is stripped from its path into the variable "test_name".
But for opening and working with the device, the full name is needed (variable "name").

To fix this, the variable "test_name" should be changed to "name" in lines 585, 592 and 595.

Attachments (2)

devicename.patch (1.2 KB) - added by Martin Ziemer 4 weeks ago.
Changes described in ticket as patch
devicename_and_changelog.patch (1.5 KB) - added by Martin Ziemer 4 weeks ago.
Forgot to edit changelog! -- Please look at this patch!

Download all attachments as: .zip

Change History (6)

comment:1 Changed 4 weeks ago by Christian Franke

Keywords: openbsd added; OpenBSD removed
Milestone: unscheduled
Priority: minormajor

To fix this, the variable "test_name" should be changed to "name" in lines 585, 592 and 595.

Please provide this as a patch. The patch should also include an addition to the ChangeLog file.

Changed 4 weeks ago by Martin Ziemer

Attachment: devicename.patch added

Changes described in ticket as patch

Changed 4 weeks ago by Martin Ziemer

Forgot to edit changelog! -- Please look at this patch!

comment:2 Changed 4 weeks ago by Christian Franke

Milestone: unscheduledRelease 7.3

Looks good, thanks.

comment:3 Changed 4 weeks ago by Christian Franke

Owner: set to Christian Franke
Status: newaccepted

comment:4 Changed 4 weeks ago by Christian Franke

Resolution: fixed
Status: acceptedclosed

Applied in r5213, thanks.

Note: See TracTickets for help on using tickets.