[asterisk-bugs] [Asterisk 0017751]: [patch] Error in sig_pri.c issues compiler warning and causes chan_dahdi to be unloadable - 1.8.0-beta2
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Jul 29 14:47:39 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17751
======================================================================
Reported By: b11d
Assigned To: seanbright
======================================================================
Project: Asterisk
Issue ID: 17751
Category: Channels/General
Reproducibility: always
Severity: block
Priority: normal
Status: closed
Asterisk Version: 1.8.0-beta2
JIRA: SWP-1979
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2010-07-29 13:04 CDT
Last Modified: 2010-07-29 14:47 CDT
======================================================================
Summary: [patch] Error in sig_pri.c issues compiler warning
and causes chan_dahdi to be unloadable - 1.8.0-beta2
Description:
I have been testing Asterisk 1.8.0-beta2 on FreeBSD 8.1-amd64, and
discovered
that chan_dahdi could not be loaded by Asterisk, it would return an error
and state that 'strudpa' was not defined.
During compilation (with GNU Make 3.81) it would compile sig_pri.c and
give
a warning that 'strdupa' was not defined, but the compile would finish
anyway.
I fixed the issue by modifying line 1749 of channels/sig_pri.c
- msn_list = strdupa(msn_patterns);
+ msn_list = ast_strdupa(msn_patterns);
(sorry, not a real diff!)
More information about the asterisk-bugs
mailing list