Xref: news-dnh.mv.net comp.os.msdos.djgpp:2241 Path: news-dnh.mv.net!mv!news.sprintlink.net!in1.uu.net!noc.near.net!das-news2.harvard.edu!oitnews.harvard.edu!newsfeed.rice.edu!rice!news!sandmann From: Charles Sandmann Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem: Output redirection is using up file handles. Date: Wed, 27 Sep 1995 16:00:42 CDT Organization: Rice University, Houston, Texas Lines: 15 References: <44bv5l$bnu AT mmlab DOT mml DOT mmc DOT com> Reply-To: sandmann AT clio DOT rice DOT edu Nntp-Posting-Host: clio.rice.edu To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp > After that, trying to run any command just gives the > error message: "Too many open files in system (ENFILE)" > It looks as if the program opens a file handle every time, and > never releases is when the program exits. Just wondered if > anyone else has run into this problem, and if so, is there > a way around it? Hey! I have seen this before - ummm, when I was running with a minimal config.sys, but I could not reproduce it. I suspect it's a problem with CWSDPMI, since DOS can loose file handles on TSRs (which CWSDPMI is, even when running for a short while). Ah - yes, I think I know the problem - and I think I can fix it for the next beta... Redirection ...