From: "Olaf van der Spek" Newsgroups: comp.os.msdos.djgpp References: <56ga5.329089$k22 DOT 1448044 AT flipper> <8kcu4s$juv$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <200007130406 DOT AAA24310 AT envy DOT delorie DOT com> Subject: Re: Pipe to sendmail (again) Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Message-ID: Date: Thu, 13 Jul 2000 10:35:02 GMT NNTP-Posting-Host: 213.46.21.6 X-Complaints-To: abuse AT chello DOT nl X-Trace: flipper 963484502 213.46.21.6 (Thu, 13 Jul 2000 12:35:02 MET DST) NNTP-Posting-Date: Thu, 13 Jul 2000 12:35:02 MET DST Organization: Chello Broadband To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "DJ Delorie" schreef in bericht news:200007130406 DOT AAA24310 AT envy DOT delorie DOT com... > > > 'text' mode in Unix (nor should there really have been a need to > > invent it on DOS: absence of 'b' already means "text mode", so what > > would you need a 't' specifier for?) > > Absence of 'b' means *default*, which can still be binary if you (or > the application, if you are a library) have set the _fmode variable > appropriately. > > In cygwin, the "default" comes from the mount table, and is often > "binary", so the "t" is a good idea. But it caused popen to fail, so it doesn't seem that good to me always.