[asterisk-dev] [dahdi-commits] tzafrir: tools/trunk r7134 - /tools/trunk/

Max Khon fjoe at samodelkin.net
Thu Sep 17 13:05:22 CDT 2009


Hello!

On Thu, Sep 17, 2009 at 12:21 AM, Max Khon <fjoe at samodelkin.net> wrote:


> > +#if defined(__FreeBSD__)
>>> > +     if ((res = ioctl(fd, DAHDI_LOADZONE, &h))) {
>>> > +#else
>>> >       if ((res = ioctl(fd, DAHDI_LOADZONE, h))) {
>>> > +#endif
>>> >               fprintf(stderr, "ioctl(DAHDI_LOADZONE) failed: %s\n",
>>> strerror(errno));
>>> >               return res;
>>> >       }
>>>
>>> This is not acceptable; the DAHDI_LOADZONE API must be the same between
>>> all supported DAHDI platforms. If FreeBSD cannot support an ioctl that
>>> has a bare 'int' argument, then there must be a new version of
>>> DAHDI_LOADZONE added for FreeBSD *and* Linux that accepts an 'int *',
>>> and the old version of DAHDI_LOADZONE must be supported on Linux via the
>>> compatibility mechanism we already use.
>>
>>
>> Attached patches should fix it.
>>
>
> I've been told that I should always submit patches through Mantis.
> Patches to fix this issue added here:
> https://issues.asterisk.org/view.php?id=15877
>

Can someone take a look at DAHDI_LOADZONE patches please?

Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090918/ceeec4c7/attachment.htm 


More information about the asterisk-dev mailing list