Re: NNTPC: nntpcache-1.0 (sigsegv on startup, rfc931 with Sunos)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> cd /usr/local/src/nntpcache-1.0/
> diff -c /usr/local/src/nntpcache-1.0/acc.c.orig /usr/local/src/nntpcache-1.0/acc.c
> *** /usr/local/src/nntpcache-1.0/acc.c.orig	Tue Oct 15 13:00:57 1996
> --- /usr/local/src/nntpcache-1.0/acc.c	Tue Oct 22 12:45:23 1996
> ***************
> *** 28,33 ****
> --- 28,37 ----
>   	static char user[128];
>   	char buf[512];
>   	FILE *fh = NULL;	/* stop gcc complaining */
> + 				/* ron@auda.mlfarm.com, 22 Oct 1996 */
> + 				/* For Sunos we need separate */
> + 				/* read/write FILEs.  */
> + 	FILE *fr = NULL;
>   	RETSIGTYPE (*al)(int) = NULL;
>   	long al_s;

I fixed this problem by unbuffering the FILE *. ;)

Cheers,
Julian.


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux