[asterisk-bugs] [Asterisk 0008403]: [patch] /proc/zaptel/1 returns spurious characters at end
noreply at bugs.digium.com
noreply at bugs.digium.com
Sat Jun 7 12:07:44 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=8403
======================================================================
Reported By: softins
Assigned To: mattf
======================================================================
Project: Asterisk
Issue ID: 8403
Category: Core/General
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: I did not set the version :(
SVN Branch (only for SVN checkouts, not tarball releases): 1.2
SVN Revision (number only!):
Disclaimer on File?: Yes
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 11-22-2006 09:19 CST
Last Modified: 06-07-2008 12:07 CDT
======================================================================
Summary: [patch] /proc/zaptel/1 returns spurious characters
at end
Description:
When doing a "cat /proc/zaptel/1" (or any other span number) for a card
with many channels, such as an E1 span, some spurious characters are often
shown after the last correct line of output. This is due to the returned
length not being adjusted to account for "off" and "count".
The attached patches correct this behaviour. One patch is for 1.2, and the
other patch is for 1.4 and trunk (which are identical in this case).
======================================================================
----------------------------------------------------------------------
svnbot - 06-07-08 12:07
----------------------------------------------------------------------
Repository: dahdi
Revision: 1636
U trunk/zaptel.c
------------------------------------------------------------------------
r1636 | mattf | 2008-06-07 12:07:43 -0500 (Sat, 07 Jun 2008) | 2 lines
Fix for http://bugs.digium.com/view.php?id=8403. No extra characters in
/proc/zaptel/* when reading
------------------------------------------------------------------------
http://svn.digium.com/view/dahdi?view=rev&revision=1636
Issue History
Date Modified Username Field Change
======================================================================
06-07-08 12:07 svnbot Checkin
06-07-08 12:07 svnbot Note Added: 0088197
======================================================================
More information about the asterisk-bugs
mailing list