From: Eric Backus Subject: Re: djgpp ndmake and PBMPLUS To: lee AT uhunix DOT uhcc DOT Hawaii DOT Edu Date: Fri, 13 Mar 92 10:31:59 PST Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Mailer: Elm [revision: 66.25] Status: O > On Mar 12, 7:32pm, DJ Delorie wrote: > } Subject: djgpp ndmake and PBMPLUS > } >There isn't much to do to port pbmplus to djgpp-msdos. Just set > } >stdout to binary mode, and use "rb" mode in fopen(). And that has > } > } Note that binary to stdout will not work in 1.05 or before of djgpp; > } it's fixed in 1.06 (mostly so that pbmplus will work!) > > Gee, I must just have imagined it worked for the past months. > > The modified files I mentioned do set stdout to binary for > djgpp 1.05. I had to go to a little extra work, that's all. > > -- Greg, lee AT uhunix DOT uhcc DOT hawaii DOT edu (lee AT uhunix on Bitnet) Well, I THOUGHT I was able to set stdout to binary with "setmode(stdout, O_BINARY)". Are you guys saying that this didn't work? What else do I have to do? What do I have to do on 1.06? -- Eric Backus ericb%hplsla AT hplabs DOT hp DOT com (206) 335-2495