Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 24962 invoked by uid 6000); 20 Apr 1998 20:02:59 -0000 Received: (qmail 24952 invoked from network); 20 Apr 1998 20:02:57 -0000 Received: from devsys.jagunet.com (206.156.208.6) by taz.hyperreal.org with SMTP; 20 Apr 1998 20:02:57 -0000 Received: (from jim@localhost) by devsys.jaguNET.com (8.8.8/jag-2.4) id QAA15731 for new-httpd@apache.org; Mon, 20 Apr 1998 16:02:53 -0400 (EDT) From: Jim Jagielski Message-Id: <199804202002.QAA15731@devsys.jaguNET.com> Subject: Re: SERVER_VERSION with OS To: new-httpd@apache.org Date: Mon, 20 Apr 1998 16:02:52 -0400 (EDT) In-Reply-To: from "Marc Slemko" at Apr 20, 98 01:49:54 pm X-Mailer: ELM [version 2.4 PL25] Content-Type: text Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org Marc Slemko wrote: > > > > > Yeah... Ken's idea was a good one. If we set the max-length of SERVER_VERSION > > to some value, then we can allocate it at compile time and then strncat > > the "comments" and "additions" run-time. How about something like > > ap_add_server_version which tacks on char * ? > > What is the problem with pstrcat? Nothing... In fact, Ken's implementation looks nice. My idea was simply to avoid the "overhead" of pools and all those possible allocs. -- =========================================================================== Jim Jagielski ||| jim@jaguNET.com ||| http://www.jaguNET.com/ "That's no ordinary rabbit... that's the most foul, cruel and bad-tempered rodent you ever laid eyes on"