 		}
 		totalCount += count;
 	}
-
 	if (argc == 3) {
 		sprintf(interp->result, "%d", totalCount);
 	}

		i++;
	}

	if (TclGetOpenFile(interp, fileId, &filePtr) != TCL_OK) {
		return TCL_ERROR;
	}

#ifndef NO_FORK
	if (filePtr->numPids > 0) {
		Tcl_DetachPids(filePtr->numPids, filePtr->pidPtr);
		_freeFast((char *)filePtr->pidPtr);
	}
#endif
	if (filePtr->errorId != -1) {
		close(filePtr->errorId);
	}
	_freeFast((char *)filePtr);
	return TCL_ERROR;
}
