Re: ioctl-patch for Darwin and FreeBSD

2011-02-22 Thread Markus Gothe
.align 3 > _x: >.quad 2149607740 > .globl _y >.align 2 > _y: >.long -2145359556 >.subsections_via_symbols > > > Does this patch fix the issue for you? > > > 2011-02-22 Bruno Haible > > ioctl: Fix for MacOS

Re: ioctl-patch for Darwin and FreeBSD

2011-02-22 Thread Markus Gothe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22 Feb, 2011, at 22:53 , Eric Blake wrote: > [re-adding the list] > [please don't top-post on technical lists] > > On 02/22/2011 02:14 PM, Markus Gothe wrote: >> The issue is with PIMd-NG (http://pimd-ng.sf.net). > ..

ioctl-patch for Darwin and FreeBSD

2011-02-22 Thread Markus Gothe
Please see attached patch for ioctl() on FreeBSD and Darwin. Their definition differ from (int, int, ...) and the gnulib variant doesn't work well on 64-bit Darwin with this proto. //Markus - The panama-hat hacker ioctl.patch Description: Binary data PGP.sig Description: This is a digitally

Re: gnulib ioctl() on OS X 10.6.6 x86

2011-01-28 Thread Markus Gothe
ifr_hwaddr) = ETHER_ADDR_LEN; if((ret = ioctl(dev->intf_fd, SIOCSIFHWADDR, &dev->ifr)) == -1){ #else #error "Check for SIOCSIFLLADDR or SIOCSIFHWADDR" #endif perror("ioctl"); } return ret; } //Markus - The panama-hat