Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2002 04:09:14 +0200
From:      Simon 'corecode' Schubert <corecode@corecode.ath.cx>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--=.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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021010040914.18b49ac9.corecode>