| delorie.com/archives/browse.cgi | search |
| From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Pipe to sendmail (again) |
| Date: | 10 Jul 2000 16:37:48 GMT |
| Organization: | Aachen University of Technology (RWTH) |
| Lines: | 11 |
| Message-ID: | <8kcu4s$juv$1@nets3.rz.RWTH-Aachen.DE> |
| References: | <yG3a5.322335$k22 DOT 1427482 AT flipper> <56ga5.329089$k22 DOT 1448044 AT flipper> |
| NNTP-Posting-Host: | acp3bf.physik.rwth-aachen.de |
| X-Trace: | nets3.rz.RWTH-Aachen.DE 963247068 20447 137.226.32.75 (10 Jul 2000 16:37:48 GMT) |
| X-Complaints-To: | abuse AT rwth-aachen DOT de |
| NNTP-Posting-Date: | 10 Jul 2000 16:37:48 GMT |
| Originator: | broeker@ |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
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
'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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |