*BSD News Article 12058


Return to BSD News archive

Newsgroups: comp.os.386bsd.apps
Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!zaphod.mps.ohio-state.edu!menudo.uh.edu!uuneo!sugar!peter
From: peter@NeoSoft.com (Peter da Silva)
Subject: Re: Elm fixed easily for 386bsd
Organization: NeoSoft Communications Services -- (713) 684-5900
Date: Mon, 1 Mar 1993 11:55:50 GMT
Message-ID: <C37L54.I1s@sugar.neosoft.com>
References: <6430@krafla.rhi.hi.is>
Lines: 20

In article <6430@krafla.rhi.hi.is> adamd@rhi.hi.is (Adam David) writes:
> Configure: change all occurences of 'for foo do' to 'for foo in $@; do'

Change them to 'for foo in "$@"'.

> in src/mailmsg2.c change 2 sprintf statements that contain '&' in the format
> string. The shell commands generated by these statements need to be
> rearranged so that /bin/sh can pass non-empty mail messages:

> "( (..... %s ; %s %s) & ) < %s"    becomes   "(..... %s < %s; %s %s) &"

Or simply "..... %s < %s; %s %s", since running the mail routing agent in the
background just removes the amount of good feedback the user can get. If
sendmail fails, it's highly desirable for any error messages to come out
synchronously.
-- 
Peter da Silva.  <peter@sugar.neosoft.com>.
 `-_-'   Oletko halannut suttasi tänään?
  'U`    
Tarjoilija, tämä ateria elää vielä.