[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [JOB] mailx



On Thu, Jul 19, 2001 at 03:27:01PM -0700, Known Human Nick Rusnov wrote:
> In message <[🔎] 20010719203356.G126@212.23.136.22>it was written:
> >Hi,
> >
> >mailx depends on MAXPATHLEN heavily.
> 
> I'm looking at this. It seems a bit silly, though, to make the string
> handling for the strings that use MAXPATHLEN dynamic when it uses non-dynamic strings
> all over the place.

If everything is fixed, it might be feasible to allocate fixed strings based
on the length of the other fixed strings.

I haven't looked at the code.  Not always is the best approach to use
malloc/realloc/free. 

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



Reply to: