Re: cvs commit: squid/src client_side.c

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 23 Oct 2001 15:37:45 +0200

The "const" strings that are xstrdup:ed can quite easily be converted
into String types, thereby catching most of them into suitable pools.

The ones that are allocated as scratch buffers for temporary
modification or use in strtok is a bit trickier, but as indicated
previously my opinion is that dynamically sized temporary scratch
buffers should be allocated using alloca().

Regards
Henrik

Andres Kroonmaa wrote:

> Interesting, what approach do you have in mind on converting xstrdup's?
>
> ------------------------------------
> Andres Kroonmaa <andre@online.ee>
> CTO, Microlink Online
> Tel: 6501 731, Fax: 6501 725
> Pärnu mnt. 158, Tallinn,
> 11317 Estonia
Received on Tue Oct 23 2001 - 10:20:07 MDT

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