Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 90153 invoked by uid 500); 2 Jun 2000 00:34:56 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 90139 invoked from network); 2 Jun 2000 00:34:55 -0000 Date: Thu, 1 Jun 2000 17:35:02 -0700 (PDT) From: Greg Stein To: new-httpd@apache.org Subject: Re: cvs commit: apache-2.0/src/modules/standard mod_auth_digest.c In-Reply-To: <20000601171735.A3778@manojk.users.mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N On Thu, 1 Jun 2000, Manoj Kasichainula wrote: > On Thu, Jun 01, 2000 at 11:08:32AM -0700, Life is hard, and then you die wrote: > > Yes, yuck - I'd prefer it apr too. But less yuck than putting #if all > > over the code. Since I want to be able to handle the failure of getting > > shared-mem or locks gracefully (i.e. a basic set of functionality still > > works without them) I need the run-time checks anyway. > > There's nothing stopping a module author who knows that he is working > around a lack of shared memory to implement stub macros: > > #ifndef APR_SHARED_MEMORY > #define ap_shmem_malloc(x) (APR_ENOTIMPL) > #endif IMO, these ought to be in APR. It has nothing to do with MPMs, and it certainly beats making everybody duplicate the same darn things. Cheers, -g -- Greg Stein, http://www.lyra.org/