[Linux-ha-dev] Re: Heartbeat on Solaris?
Eric Z. Ayers
eric at compgen.com
Wed Dec 13 05:39:08 MST 2000
Alan Robertson writes:
> > I see. A major difference between UNIX and *BSD is memcpy, strrchr and
> > bcopy, rindex. I don't know how or if these functions are ever used, but
> > you would have to write a replacement for the other target when you do
> I understand. I've been porting things between UNIXes for over 20 years,
> without using any tools. I tend to stay to pretty common things on the
> basis of long experience. And, I think that nowadays that BSD has things
> like memcpy and strrchr, even though they didn't used to. I haven't looked
> at the Solaris patches (oops!), but the FreeBSD/OpenBSD patches have been
> simple. They're all in the source under CVS now, except for a couple of
> flags that have to be different when you invoke the top level makefile.
> There is one candidate for something I did in an linux-dependent way - and
> that's in findif.c. But, I don't use any linux-dependent functions - I read
> /proc/somethingorother ;-)
> -- Alan Robertson
> alanr at suse.com
the change I made a while back to finding the broadcast address with
an ioctl() call had a portability problem to Digital Unix, but that
was all. Before it did a system "ifconfig | grep ..."
More information about the Linux-HA-Dev