build failure on latest sources?

Greg Lewis glewis at eyesbeyond.com
Wed Jul 22 19:55:40 PDT 2009


G'day Christos,

On Wed, Jul 22, 2009 at 03:57:01PM -0400, Christos Zoulas wrote:
> On Jul 22, 12:25pm, glewis at eyesbeyond.com (Greg Lewis) wrote:
> -- Subject: Re: build failure on latest sources?
> 
> | Here is a patch I worked up for it.  Can you let me know if this works
> | for you also?  If so I'll get it committed.
> 
> You could also do:
> 
> DIR *fdopendir(int) __attribute__((__weak__));
> 
> ...
> 
> if (fdopendir == NULL)
> 	...

I was trying to keep to the way functions that various OSes might support
are handled in the rest of the file :).  That's good to know though, I
probably wouldn't have thought of that.

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org



More information about the bsd-port-dev mailing list