On Thu, Oct 30, 2008 at 09:29:55AM -0300, Jorge Arellano Cid wrote:
On Wed, Oct 29, 2008 at 08:46:28PM +0000, Jeremy Henty wrote:
On Wed, Oct 29, 2008 at 01:28:20PM -0300, Jorge Arellano Cid wrote:
Given that IO/dpi.c uses both without (reported) problems, it'd be good to have everyone use D_SUN_LEN.
So I think the code is correct and we should just remove the unused D_SUN_LEN definitions. Patch attached.
OK, but I was talking about connect().
Patch attached. Also, all uses of bind() already use D_SUN_LEN. Incidentally, does anyone know why there is no analog of D_SUN_LEN for connect()-ing to a struct sockaddr_in? The struct has a sin_path member just as struct sockaddr_un has a sun_path , so what is the difference? (I'm new to the C socket API.) Regards, Jeremy Henty