I tried compiling the patch level 12 of Circle 3.0 with Cygnus gnuwin compiler and came across an undefined reference error to set_sendbuf during the linking part. Looking into comm.c (which contains references to and definition of set_sendbuf), I noticed that the definition of set_sendbuf is only defined if SO_SNDBUF is defined. I found 2 calls of set_sendbuf, one within an #if defined(SO_SNDBUF)/#endif pair and the other without such a wrapper. I was wondering if this is a mistake in the code that an #if defined(SO_SNDBUF)/#endif pair is missing as a wrapper around the second call of set_sendbuf. More details: one call of set_sendbuf is in the new_descriptor function and the other is in the init_socket function. Both functions are in comm.c. T. +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST