X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (mx2.hub.org [200.46.204.254]) by postgresql.org (Postfix) with ESMTP id C559111F66DB for ; Wed, 19 Apr 2006 15:04:05 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: -2.559 X-Spam-Level: X-Spam-Status: No, score=-2.559 required=5 tests=[AWL=0.040, BAYES_00=-2.599] Received: from postgresql.org ([200.46.204.71]) by localhost (mx2.hub.org [200.46.204.254]) (amavisd-new, port 10024) with ESMTP id gCGBB6Sg8ZtO for ; Wed, 19 Apr 2006 15:03:58 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [192.147.25.65]) by postgresql.org (Postfix) with ESMTP id BF91B11F60B5 for ; Wed, 19 Apr 2006 15:03:57 -0300 (ADT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lerami; d=lerctr.org; b=bQNYkmOSeHn3e4nqxf3n6zf28ffx8ni8jAYS/YAxD+4m6NqwavnV6qTAJE2xrIybW0ejjshGvvQzWtKxszFEhmJLkCpyebjhv+9IOcEwMmGgKb6u6aaDJ+IukixWNc+ir3nquEppHUNNk8sAXkrZWHU1EDLsyifqC8LymrHaW/E=; Received: from 64-132-13-2.gen.twtelecom.net ([64.132.13.2]:64318 helo=LROSENMAC8010P) by thebighonker.lerctr.org with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FWH1s-0005yA-Kc; Wed, 19 Apr 2006 13:03:54 -0500 From: "Larry Rosenman" To: "'Dave Page'" , "'Magnus Hagander'" , "'Robert Treat'" Cc: Subject: Re: community docs config issue Date: Wed, 19 Apr 2006 13:03:19 -0500 Message-ID: <033401c663db$8a730820$0202fea9@aus.pervasive.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcZjsafPIHWfn7A3QVOH4R647kdQaQAAnSdAAACwtrAAADINMAAAQrTwAAA1RmAAAGiEEAAAuwtwAABK+aAAACJPUAACS09AAACDIRAABBWgsA== In-Reply-To: X-LERCTR-Spam-Score: -4.2 (----) X-LERCTR-Spam-Report: (-4.2 points, 5.0 required) ALL_TRUSTED=-1.8 BAYES_00=-2.599 DK_POLICY_SIGNALL=0.001 TW_BX=0.077 TW_IB=0.077 TW_PG=0.077 DomainKey-Status: no signature X-Archive-Number: 200604/117 X-Sequence-Number: 9893 Dave Page wrote: >> -----Original Message----- >> From: Larry Rosenman [mailto:ler@lerctr.org] >> Sent: 19 April 2006 16:52 >> To: Dave Page; 'Magnus Hagander'; 'Robert Treat' >> Cc: pgsql-www@postgresql.org >> Subject: RE: [pgsql-www] community docs config issue >> >> >> I think(!) I have a fix: >> >> 1) make distclean for xdiff-pecl >> 2) ./configure >> 3) edit config.h and CHANGE #undef HAVE_XDL_ALLOCATOR_PRIV to >> #define HAVE_XDL_ALLOCATOR_PRIV 1 >> 4) recompile and install >> >> this seems to fix it on my system. >> >> The configure script apparently doesn't test for this >> correctly, and we try to free when we are actually trying to malloc. > > Oh, nice work Larry :-) > > Fix confirmed on wwwmaster - module reinstalled, apache restarted. > > The community docs diff function still doesn't work though - did you > disable it Magnus? I've confirmed the existance of xdiff in the server > through a phpinfo() call in a test page, as well as on the command > line. > I'm also in the process of doing 2 other things: 1) adopt the libxdiff FreeBSD port (so I can fix the -fPIC issue on amd64 (or have it build a shared lib) 2) creating a textproc/pecl-xdiff port that uses the above, and does the fix we did here (appends the #define, but same effect). LER -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893