Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 87246 invoked by uid 500); 24 May 2002 12:31:22 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 87235 invoked from network); 24 May 2002 12:31:21 -0000 X-Authentication-Warning: rdu88-251-253.nc.rr.com: trawick set sender to trawick@attglobal.net using -f Sender: trawick@rdu88-251-253.nc.rr.com To: dev@apr.apache.org Subject: Re: apr_date_parse_rfc segv References: From: Jeff Trawick Date: 24 May 2002 08:34:30 -0400 In-Reply-To: Message-ID: Lines: 17 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Cliff Woolley writes: > Unfortunately we can't just pstrdup because we have no pool to dup into. > We could copy into a buffer on the stack....... > > Again, this only affects already-ugly formats, so I see little problem > with adding a copy penalty to *those* formats, as long as it can be done > without impacting the performance of the other, more heavily-used formats > in a horrendous way. +1 The API needs to be changed to use const char * if at all possible. This isn't the first time this has come up. -- Jeff Trawick | trawick@attglobal.net Born in Roswell... married an alien...