Re: Bogus 'socket' variable in HTHost.c?

Markku Savela writes:
> 
> I attempted to compile 4.1b1 on SunOS 4.1.3 and after realizing that
> it needed gmake and forcing STDC_HEADERS in config.h (use stdarg.h
> instead of vararg.h; ./configure script didn't find the gcc 2.5.8
> headers for some reason), the compilation barfed in HTHost.c
> complaining about 'socket' being undeclared HTHost_setChannel. The
> code looks like..
> 
> 	...
> 	    if (CORE_TRACE)
> 		HTTrace("Host info... no room for persistent socket %d\n",
> 			socket);
> 	...
> 
> Obviously bogus, as there is no 'socket' variable anywhere visible.
> In some systems this goes unnoticed, as there is a system library
> function named 'socket', the address of which gets used.

You're right - I don't know why gcc is not found, however, that is strange. 
Do you have any ideas? I have just released an updated beta version which is 
called 4.1beta3. It has all the fixes that you have sent and also many more 
new functions for accessing URLs.

You can get it from

	http://www.w3.org/member/WWW/Library/

Hope this helps


-- 
Henrik Frystyk Nielsen, <frystyk@w3.org>
World Wide Web Consortium, MIT/LCS NE43-356
545 Technology Square, Cambridge MA 02139, USA

Received on Thursday, 8 August 1996 15:17:35 UTC