[asterisk-dev] [dahdi-commits] tzafrir: tools/trunk r7134 - /tools/trunk/
Max Khon
fjoe at samodelkin.net
Wed Sep 16 12:21:11 CDT 2009
Hello!
On Wed, Sep 16, 2009 at 3:32 PM, 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
Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090917/6e1f02f7/attachment.htm
More information about the asterisk-dev
mailing list