Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ukma.UUCP Path: utzoo!watmath!clyde!cbosgd!hasmed!qusavx!ukma!david From: david@ukma.UUCP (David Herron, NPR Lover) Newsgroups: net.sources.bugs Subject: A syntax error in nmail.c Message-ID: <426@ukma.UUCP> Date: Mon, 24-Dec-84 04:29:44 EST Article-I.D.: ukma.426 Posted: Mon Dec 24 04:29:44 1984 Date-Received: Wed, 26-Dec-84 04:21:35 EST Organization: Univ. of KY Mathematical Sciences Lines: 38 A nice program (now if only some map data would show up here....) There was a syntax error that my C compiler barfed upon. Following is the diff: *** nmail.c.orig Mon Dec 24 04:09:01 1984 --- nmail.c Mon Dec 24 04:24:22 1984 *************** *** 41,47 #include! #define MAILER getenv("MAILER") == NULL ? "/bin/mail" : getenv("MAILER") #define OK 1 /* all expansions done correctly */ #define BAD 0 /* an expansion done incorrectly */ --- 41,49 ----- #include ! extern char *getenv(); ! ! #define MAILER (getenv("MAILER")==NULL ? "/bin/mail":getenv("MAILER")) #define OK 1 /* all expansions done correctly */ #define BAD 0 /* an expansion done incorrectly */ --:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:--:- David Herron; ARPA-> "ukma!david"@ANL-MCS (Try the arpa address w/ and w/o the quotes, I have had much trouble with both.) UUCP -:--:--:--:--:--:--:--:--:- (follow one of these routes) {ucbvax,unmvax,boulder,research} ! {anlams,anl-mcs} -----\ vvvvvvvvvvv >-!ukma!david {cbosgd!hasmed,mcvax!qtlon,vax135,mddc} ! qusavx -----/ ^^^^^^^^^^^