Date: Wed, 9 Oct 2002 19:20:02 -0700 (PDT) From: "Simon 'corecode' Schubert" <corecode@corecode.ath.cx> To: freebsd-ports@FreeBSD.org Subject: Fw: Re: ports/43849: mod_php4 problem Message-ID: <200210100220.g9A2K2aG079592@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/43849; it has been noted by GNATS. From: Simon 'corecode' Schubert <corecode@corecode.ath.cx> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Fw: Re: ports/43849: mod_php4 problem Date: Thu, 10 Oct 2002 04:12:01 +0200 --=.6I.XHf2w?5O_dL Content-Type: multipart/mixed; boundary="Multipart_Thu__10_Oct_2002_04:12:01_+0200_09816600" --Multipart_Thu__10_Oct_2002_04:12:01_+0200_09816600 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit oh damn. adding to audit trail: Begin forwarded message: 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 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 --Multipart_Thu__10_Oct_2002_04:12:01_+0200_09816600 Content-Type: application/pgp-signature; name="00000000.mimetmp" Content-Disposition: attachment; filename="00000000.mimetmp" Content-Transfer-Encoding: base64 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjEuMi4wIChOZXRC U0QpCgppRDhEQlFFOXBPRlFyNVMrZGs2ejg1b1JBa0plQUtEQUZqekFqZ0tyTUpQOUJ4R1ZXSmc0 eU5YVG9RQ2ZaUXBVCk93UEs1MkprdEEyaUdTYnJzVm5pT2VBPQo9elY5cAotLS0tLUVORCBQR1Ag U0lHTkFUVVJFLS0tLS0KCg== --Multipart_Thu__10_Oct_2002_04:12:01_+0200_09816600-- --=.6I.XHf2w?5O_dL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (NetBSD) iD8DBQE9pOH2r5S+dk6z85oRAm94AKCwQHSz2ThPYcda3gITutQ4RnrNdwCg72C3 oeMrYroHHnNXOqtKN05E5sQ= =IcAl -----END PGP SIGNATURE----- --=.6I.XHf2w?5O_dL-- 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?200210100220.g9A2K2aG079592>