[net.bugs.uucp] missing fclose in uuxqt.c

chris@pixutl.UUCP (chris) (07/02/84)

	Yet another missing fclose() (this one in uuxqt.c):

	If you are having problems with uuxqt giving up every once in a while
when handling a large number of 'X' files ( ~= NOFILE (param.h)), the reason
is that there is no 'fclose(xfile)' at the end of main in uuxqt.c.


	----------
	.....

	rmfiles:
		xfp = fopen(xfile, "r");
		ASSERT(xfp != NULL, "CAN'T OPEN %s", xfile);
		while (fgets(buf, BUFSIZ, xfp) != NULL) {
			if (buf[0] != X_RQDFILE)
				continue;
			sscanf(&buf[1], "%s", file);
			unlink(file);
		}
		unlink(xfile);
		/* where is fclose()???? */
	}

	if (stcico)
		xuucico("");
	cleanup(0);
}

Chris

-- 


 Chris Bertin            :         (617) 657-8720 x2318
 Pixel Computer Inc.     :
 260 Fordham Rd.         :  {allegra|ihnp4|cbosgd|ima|genrad|amd|harvard}\
 Wilmington, Ma 01887    :     !wjh12!pixel!pixutl!chris