Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site pixutl.UUCP Path: utzoo!linus!decvax!harpo!seismo!harvard!wjh12!pixel!pixutl!chris From: chris@pixutl.UUCP (chris) Newsgroups: net.bugs.uucp Subject: missing fclose in uuxqt.c Message-ID: <41@pixutl.UUCP> Date: Mon, 2-Jul-84 11:55:28 EDT Article-I.D.: pixutl.41 Posted: Mon Jul 2 11:55:28 1984 Date-Received: Tue, 3-Jul-84 04:48:47 EDT Organization: Pixel Computer Inc., Wilmington, Mass. Lines: 41 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