Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jan 2000 04:00:04 -0800 (PST)
From:      Alexander Langer <alex@big.endian.de>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/16449: fix textproc/nicetext (bentofied)
Message-ID:  <200001301200.EAA76334@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/16449; it has been noted by GNATS.

From: Alexander Langer <alex@big.endian.de>
To: FreeBSD-gnats-submit@FreeBSD.ORG
Cc:  
Subject: Re: ports/16449: fix textproc/nicetext (bentofied)
Date: Sun, 30 Jan 2000 11:25:06 +0100

 Please use this patch instead (-stable build!)
 
 
 --- nttpd/src/nttpd.cc.orig	Sat Jan 29 18:30:37 2000
 +++ nttpd/src/nttpd.cc	Sun Jan 30 11:17:36 2000
 @@ -100,6 +100,7 @@
  #include <fstream.h>
  #include <strstream.h>
  #include <signal.h>
 +#include <osreldate.h>
  #include "../../mtc++/include/MTC++.h"
  #include "../../mtc++/include/mstring.h"
  #include "../../mtc++/include/errormsg.h"
 @@ -288,7 +289,11 @@
  
  	for(;;) 
  	{
 +#if (__FreeBSD_version < 400000)
  		if ((newfd=accept(sockfd, (struct sockaddr *)&their_addr, &sin_size))==-1)
 +#else
 +		if ((newfd=accept(sockfd, (struct sockaddr *)&their_addr, (socklen_t *) &sin_size))==-1)
 +#endif
  		{
  			perror("accept");
  			continue;
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001301200.EAA76334>