From owner-freebsd-ports Wed Oct 9 19: 9:30 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D37AC37B401 for ; Wed, 9 Oct 2002 19:09:28 -0700 (PDT) Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C73843E3B for ; Wed, 9 Oct 2002 19:09:28 -0700 (PDT) (envelope-from corecode@corecode.ath.cx) Received: from fwd01.sul.t-online.de by mailout10.sul.t-online.com with smtp id 17zSlT-00033p-00; Thu, 10 Oct 2002 04:09:27 +0200 Received: from pride.uni.stoert.net (320050403952-0001@[217.82.54.12]) by fmrl01.sul.t-online.com with esmtp id 17zSlP-1X2JzEC; Thu, 10 Oct 2002 04:09:23 +0200 Received: from wobbler.uni.stoert.net (wobbler.uni.stoert.net [10.150.180.180]) by pride.uni.stoert.net (Postfix) with ESMTP id 834DB12DD8E for ; Thu, 10 Oct 2002 04:09:22 +0200 (CEST) Received: by wobbler.uni.stoert.net (Postfix, from userid 1000) id D7494113; Thu, 10 Oct 2002 04:09:20 +0200 (CEST) Date: Thu, 10 Oct 2002 04:09:14 +0200 From: Simon 'corecode' Schubert To: freebsd-ports@FreeBSD.org Subject: Re: ports/43849: mod_php4 problem Message-Id: <20021010040914.18b49ac9.corecode@corecode.ath.cx> In-Reply-To: <200210100110.g9A1A3Xx046203@freefall.freebsd.org> References: <200210100110.g9A1A3Xx046203@freefall.freebsd.org> X-Mailer: Sylpheed version 0.8.5claws (GTK+ 1.2.10; ) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=.F?8))9ODwI'r'X" X-Sender: 320050403952-0001@t-dialin.net Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=.F?8))9ODwI'r'X Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Obviously Simon 'corecode' Schubert formed the bits: > this is a kown bug and fixed in CVS. i'll followup with a patch for > this issue in some hours. hrm. as my mail config seems to be broken time is floating now... here comes the patch: new file files/patch-ext-standard-filestat.c Index: files/patch-ext-standard-filestat.c =================================================================== RCS file: files/patch-ext-standard-filestat.c diff -N files/patch-ext-standard-filestat.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-ext-standard-filestat.c 10 Oct 2002 00:25:46 -0000 @@ -0,0 +1,22 @@ +--- ext/standard/filestat.c.orig Tue Aug 20 21:02:59 2002 ++++ ext/standard/filestat.c +@@ -559,19 +559,6 @@ static void php_stat(const char *filenam + RETURN_FALSE; + } + +-#ifndef PHP_WIN32 +- switch (type) { +- case FS_IS_W: +- RETURN_BOOL (!access (filename, W_OK)); +- case FS_IS_R: +- RETURN_BOOL (!access (filename, R_OK)); +- case FS_IS_X: +- RETURN_BOOL (!access (filename, X_OK)); +- case FS_EXISTS: +- RETURN_BOOL (!access (filename, F_OK)); +- } +-#endif +- + stat_sb = &BG(sb); + + if (!BG(CurrentStatFile) || strcmp(filename, BG(CurrentStatFile))) { cheers simon -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --=.F?8))9ODwI'r'X Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (NetBSD) iD8DBQE9pOFQr5S+dk6z85oRAkJeAKDAFjzAjgKrMJP9BxGVWJg4yNXToQCfZQpU OwPK52JktA2iGSbrsVniOeA= =zV9p -----END PGP SIGNATURE----- --=.F?8))9ODwI'r'X-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message