Re: cvs: php4 / acinclude.m4
| From: | Sascha Schumann | Date: | Sat, 14 Oct 2000 16:13:37 +0000 |
| Subject: | Re: cvs: php4 / acinclude.m4 | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-2056@lists.php.net to get a copy of this message | ||
On Sat, 14 Oct 2000, Jani Taskinen wrote:
> sniper Sat Oct 14 15:13:18 2000 EDT
>
> Modified files:
> /php4 acinclude.m4
> Log:
> Fix to #7162.
Actually, I'd prefer this:
#ifndef PATH_MAX
#define PATH_MAX 1024
#endif
char entry[sizeof(struct dirent)+PATH_MAX];
- Sascha
>
> Index: php4/acinclude.m4
> diff -u php4/acinclude.m4:1.108 php4/acinclude.m4:1.109
> --- php4/acinclude.m4:1.108 Thu Oct 12 16:17:21 2000
> +++ php4/acinclude.m4 Sat Oct 14 15:13:18 2000
> @@ -1,4 +1,4 @@
> -dnl $Id: acinclude.m4,v 1.108 2000/10/12 23:17:21 sas Exp $
> +dnl $Id: acinclude.m4,v 1.109 2000/10/14 22:13:18 sniper Exp $
> dnl
> dnl This file contains local autoconf functions.
>
> @@ -53,7 +53,7 @@
>
> main() {
> DIR *dir;
> - char entry[sizeof(struct dirent)+257];
> + char entry[sizeof(struct dirent)+300];
> struct dirent *pentry = (struct dirent *) &entry;
>
> dir = opendir("/");
>
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net
> For additional commands, e-mail: php-cvs-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>