www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/13/11:37:29

From: "Olaf van der Spek" <Olaf AT XCC DOT TMFWeb DOT NL>
Newsgroups: comp.os.msdos.djgpp
References: <yG3a5.322335$k22 DOT 1427482 AT flipper> <56ga5.329089$k22 DOT 1448044 AT flipper> <8kcu4s$juv$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>
Subject: Re: Pipe to sendmail (again)
Lines: 19
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: <1cpa5.332099$k22.1483290@flipper>
Date: Mon, 10 Jul 2000 19:09:49 GMT
NNTP-Posting-Host: 213.46.21.6
X-Complaints-To: abuse AT chello DOT nl
X-Trace: flipper 963256189 213.46.21.6 (Mon, 10 Jul 2000 21:09:49 MET DST)
NNTP-Posting-Date: Mon, 10 Jul 2000 21:09:49 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

"Hans-Bernhard Broeker" <broeker AT physik DOT rwth-aachen DOT de> schreef in bericht
news:8kcu4s$juv$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE...
> Olaf van der Spek <Olaf AT xcc DOT tmfweb DOT nl> wrote:
> >  FILE* mail = popen("/usr/sbin/sendmail \"WSpek AT Chello DOT NL\"", "wt");
>
> Loose the 't' in the mode description. There is no such thing as a

Thank you very much. Now the pipe opens succesfully.

> '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?)
>
> --
> Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
> Even if all the snow were burnt, ashes would remain.


- Raw text -


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