Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 19408 invoked by uid 6000); 12 Aug 1999 00:11:21 -0000 Received: (qmail 19345 invoked from network); 12 Aug 1999 00:11:17 -0000 Received: from chill.innovation.ch (193.73.228.10) by taz.hyperreal.org with SMTP; 12 Aug 1999 00:11:17 -0000 Received: (from ronald@localhost) by chill.innovation.ch (8.8.8/8.8.8) id CAA00471 for new-httpd@apache.org; Thu, 12 Aug 1999 02:11:14 +0200 (MET DST) From: "Life is hard, and then you die." Message-Id: <199908120011.CAA00471@chill.innovation.ch> Subject: Re: [PHP-DEV] More on the error under FreeBSD 2.2.8/A-1.3.8/PHP3.0.12 To: new-httpd@apache.org Date: Thu, 12 Aug 1999 02:11:12 +0200 (MET DST) In-Reply-To: <199908120003.UAA00644@devsys.jaguNET.com> from "Jim Jagielski" at Aug 11, 99 08:03:39 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org One day, Jim Jagielski wrote: > > > > Just noticed this when compiling PHP: > > > > > > gcc -O2 -I. -I. -I/staff/jim/src/CVS/apache-1.3//src/include -I/staff/jim/src/CVS/apache-1.3//src/os/unix -I/usr/local/include/gd -I/usr/local/include/mysql -c functions/post.c -o functions/post.o > > > functions/post.c: In function `php3_TreatHeaders': > > > functions/post.c:511: warning: passing arg 1 of `ap_uudecode' from incompatible pointer type > > > functions/post.c:511: warning: assignment makes pointer from integer without a cast > > > > > > Hrmmm... This shows up in the dump stack > > > > > > > The first argument to ap_uudecode is char * plain_dst, whereas the > > above assumes a pool * > > > > Methinks functions/post.c should be using ap_puudecode() ?? > > Confirmed. The arguments to ap_uudecode() changed. In fact, that > whole section went through a big change... I'm sure this may effect > other modules as well. Yup, I guess this was the wrong thing to do (for 1.3). One possibility is to rename the new ap_uuencode() to ap_base64encode() and rename the ap_puuencode() back to ap_uuencode() (and the same for decode). Cheers, Ronald