RE: thoughts on memory usage...

From: Larmour, Jonathan <Jonathan.Larmour@dont-contact.us>
Date: Fri, 22 Aug 1997 16:37:55 +0100

--MimeMultipartBoundary
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

>From: Michael O'Reilly
>Sent: 22 August 1997 00:38
>To: Larmour, Jonathan
>Cc: 'squid-dev@nlanr.net'
>Subject: Re: thoughts on memory usage...
>
>
>In message
><c=UK%a=_%p=Origin-it%l=UKCMX001-970821215226Z-13666@ukrax001.ras.uk
>.origin-it.com>, "Larmour, Jonathan" writes:
>Certainly it's one way of doing it, it's just harder to us. (you need
>to prealloc buffer space every time you use DECODE. i.e. you can't just
>search and replace around e->url any more).

Okay, how about,
#define DECODE(a) { char tempstackcharstar[BUFSIZE]; Munge a into
tempstackcharstar; strncpy(a, tempstackcharstar,
strlen(tempstackcharstar); return a }

But maybe we shouldn't get bogged down in details of course!

Jonathan L.

Origin,323 Cambridge Science Park,Cambridge,England. Tel:+44(1223)423355
-----[ It is impossible to enjoy idling thoroughly unless one has ]-----
--------------[ plenty of work to do - Jerome K. Jerome ]---------------
Fight spam! http://spam.abuse.net/ These opinions are all my own fault

--MimeMultipartBoundary--
Received on Tue Jul 29 2003 - 13:15:42 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:24 MST