From: pavenis AT lanet DOT lv To: Eli Zaretskii , djgpp AT delorie DOT com Date: Fri, 26 May 2000 18:07:16 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: gcc djgpp stopped working Message-ID: <392EBD54.13380.F946F1@localhost> In-reply-to: <200005202040.QAA25399@indy.delorie.com> References: X-mailer: Pegasus Mail for Win32 (v3.12c) Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 20 May 2000, at 16:40, Eli Zaretskii wrote: > > From: "Dr. J. Robert Lee" > > Date: Fri, 19 May 2000 08:13:18 -0700 > > > > Thanks very much for pointing me in the right direction. The directory > > pointed to by TMPDIR had been magically changed into a file. I removed > > the file and re-created the directory. Now gcc works just fine. > > I would suggest that the function that creates a temporary file return > some error indication, and GCC then would print a self-explanatory > error message, instead of aborting. That would probably allow many > users to find the problem by themselves, instead of asking the gurus... Tried to play with related things (breaking environment, renaming c:/tmp, creating plain file with such name etc) but failed to break gcc and other stuff (no crashes or other weird things). For example gcc still used root directory for placing temporary files. Andris