[asterisk-dev] [dahdi-commits] tzafrir: branch linux/tzafrir/sysfs r8766 - /linux/team/tzafrir/sysfs/drivers...

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Jun 15 10:56:49 CDT 2010


On Mon, Jun 14, 2010 at 04:32:13PM -0500, Kevin P. Fleming wrote:
> On 06/14/2010 03:19 PM, SVN commits to the DAHDI project wrote:
> > Author: tzafrir
> > Date: Mon Jun 14 15:19:10 2010
> > New Revision: 8766
> > 
> > URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8766
> > Log:
> > Remove leading '0' from span names
> > 
> > sadly dahdi_cfg parses them with '%i' and considers them octal.
> 
> Since there is no need for dahdi_cfg to support octal numbers, why not
> just fix dahdi_cfg?

Done (dahdi rev 8777).

%i is also used in fxstest for the number of the register to set and the
value to set in the comamnds 'setdirect' and 'setindirect' Those
commands are slightly under-documented (as in: don't even appear on the
usage message).

I guess using hex register number or value is useful, but I also often
copy such a (decimal) value with a leading zero and it would be odd that
this value is considered octal.

Anyway, has anybody a spare thought on
https://reviewboard.asterisk.org/r/677/

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list