Date: Thu, 2 Apr 1998 16:33:04 -0800 (PST) Message-Id: <199804030033.QAA19951@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: G DOT Boggio AT agora DOT stm DOT it, djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: tmpfile() creates a text file Precedence: bulk At 06:39 4/2/1998 ITA, G DOT Boggio AT agora DOT stm DOT it wrote: >I do not usually read the list, so I do not know whether the problem >has already been reported. If it has, I apologize for the duplication. > >tmpfile() apparently creates a text file. I do not have the ANSI >Standard, but, according to K&R 2nd ed., the mode should be "wb+". Known bug. You can get the patch, or a pre-patched library, from Tom Demmer's patch site: ftp://ftp.lstm.ruhr-uni-bochum.de/pub/djgpp/patches This particular bug is number 143. Nate Eldredge eldredge AT ap DOT net