[asterisk-bugs] [Asterisk 0016858]: [patch] asterisk command history loads as unusable garbage
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Mar 5 10:15:14 CST 2010
The following issue has been CLOSED
======================================================================
https://issues.asterisk.org/view.php?id=16858
======================================================================
Reported By: jw-asterisk
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16858
Category: Core/General
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.6.2.2
JIRA: SWP-932
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: reopened
Fixed in Version:
======================================================================
Date Submitted: 2010-02-17 21:19 CST
Last Modified: 2010-03-05 10:15 CST
======================================================================
Summary: [patch] asterisk command history loads as unusable
garbage
Description:
When using asterisk interactively with command interface a history file is
created (~/.asterisk_history). Lines written to the history file are
white-space encoded (in ast_el_write_history:history:case
H_SAVE:history_save:strvis).
But when the history file is loaded it reverse (strunvis) is not
performed. Therefore the history becomes unusable garbage.
======================================================================
----------------------------------------------------------------------
(0119026) seanbright (manager) - 2010-03-05 10:15
https://issues.asterisk.org/view.php?id=16858#c119026
----------------------------------------------------------------------
Thank you for your report.
After some discussion we have determined that this is a bug in the patches
applied by the Fedora project. This issue has been submitted independently
to the Fedora project:
https://bugzilla.redhat.com/show_bug.cgi?id=560333
As for the Asterisk project, we believe we have identified the correct
approach to move this forward.
1) The internal version of editline used by Asterisk should be synced with
the latest upstream.
2) Asterisk should be modified to be able to link against an external
editline library.
3) The build system should fall back on (1) if (2) is not found.
The Fedora packager has graciously agreed to submit a patch for
https://issues.asterisk.org/view.php?id=2. 1 and
3 are feature requests and will be handled when developer resources are
willing and able. If you would like to contribute, please create a new
issue and attach the necessary patches.
Issue History
Date Modified Username Field Change
======================================================================
2010-03-05 10:15 seanbright Note Added: 0119026
2010-03-05 10:15 seanbright Status new => closed
======================================================================
More information about the asterisk-bugs
mailing list