[asterisk-bugs] [Asterisk 0015320]: [patch] CUT() returns empty string for fields other than the 1st
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Jun 18 13:25:48 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15320
======================================================================
Reported By: chappell
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 15320
Category: Functions/func_cut
Reproducibility: always
Severity: major
Priority: normal
Status: feedback
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 200142
Request Review:
======================================================================
Date Submitted: 2009-06-12 13:31 CDT
Last Modified: 2009-06-18 13:25 CDT
======================================================================
Summary: [patch] CUT() returns empty string for fields other
than the 1st
Description:
CUT() in 1.4.X works correctly. In 1.6.X SVN it does not work due to an
off-by-one error in the code which advances the pointer to the start of the
range.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0015208 [patch] The CUT function does not show ...
======================================================================
----------------------------------------------------------------------
(0106674) svnbot (reporter) - 2009-06-18 13:25
https://issues.asterisk.org/view.php?id=15320#c106674
----------------------------------------------------------------------
Repository: asterisk
Revision: 201745
U trunk/funcs/func_cut.c
------------------------------------------------------------------------
r201745 | tilghman | 2009-06-18 13:24:23 -0500 (Thu, 18 Jun 2009) | 7
lines
Clarify CUT code, and in the process, fix a bug (bugfix only will be
propagated to 1.6.x)
(closes issue https://issues.asterisk.org/view.php?id=15320)
Reported by: chappell
Patches:
cut_fix.patch uploaded by chappell (license 8)
cut_clarify.patch uploaded by chappell (license 8)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=201745
Issue History
Date Modified Username Field Change
======================================================================
2009-06-18 13:25 svnbot Checkin
2009-06-18 13:25 svnbot Note Added: 0106674
======================================================================
More information about the asterisk-bugs
mailing list