delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/07/20:03:29

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: tmpfile() and binary mode in DJGPP
Date: Fri, 30 May 1997 22:31:29 +0000
Organization: Two pounds of chaos and a pinch of salt
Lines: 19
Message-ID: <338F5541.5DA5@cs.com>
References: <01IJHT6V95V6001VQJ AT cc DOT uab DOT es>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp105.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

[Sorry for the duplicate posting... error correction below]

X DOT PONS AT UAB DOT ES wrote:
> 
> We have "discovered" that tmpfile() opens the temporay file in
> the mode (binary or text) resulting from :
>      _fmode & O_TEXT
> As the usual mode is text, the temporary file is created in text mode.

This is a known bug and a patch to fix it has already been posted; look
at bug report #000143 at <http://www.delorie.com/djgpp/bugs/>.

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I      |   mailto:fighteer AT cs DOT com   |
| God's final message to His Creation: | http://www.cs.com/fighteer |
| "We apologize for the inconvenience."| <<< This tagline under >>> |
|                      - Douglas Adams | <<<    construction    >>> |
---------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019