CVS update: php4

From: Date: Wed, 16 Jun 1999 18:43:59 +0000
Subject: CVS update: php4
Groups: php.version4 
Request: Send a blank email to php-version4+get-1582@lists.php.net to get a copy of this message
Date: Wednesday June 16, 1999 @ 14:43 Author: ssb Update of /repository/php4 In directory php:/tmp/cvs-serv20372 Modified Files: fopen-wrappers.c Log Message: MIME headers may be 512 characters long. Index: php4/fopen-wrappers.c diff -u php4/fopen-wrappers.c:1.15 php4/fopen-wrappers.c:1.16 --- php4/fopen-wrappers.c:1.15 Wed Jun 16 13:06:51 1999 +++ php4/fopen-wrappers.c Wed Jun 16 14:43:59 1999 @@ -27,7 +27,7 @@ | Jim Winstead <jimw@php.net> | +----------------------------------------------------------------------+ */ -/* $Id: fopen-wrappers.c,v 1.15 1999/06/16 17:06:51 ssb Exp $ */ +/* $Id: fopen-wrappers.c,v 1.16 1999/06/16 18:43:59 ssb Exp $ */ /* Synced with php3 revision 1.62 1999-06-16 [ssb] */ @@ -442,8 +442,8 @@ char *scratch; unsigned char *tmp; - char tmp_line[256]; - char location[256]; + char tmp_line[513]; + char location[513]; int chptr = 0; char *tpath, *ttpath; int body = 0; @@ -769,7 +769,7 @@ /* set up the passive connection */ SOCK_WRITE("PASV\n", *socketd); - while (SOCK_FGETS(tmp_line, 256, *socketd) && + while (SOCK_FGETS(tmp_line, sizeof(tmp_line), *socketd) && !(isdigit((int) tmp_line[0]) && isdigit((int) tmp_line[1]) && isdigit((int) tmp_line[2]) && tmp_line[3] == ' ')); @@ -930,9 +930,9 @@ int _php3_getftpresult(int socketd) { - char tmp_line[256]; + char tmp_line[513]; - while (SOCK_FGETS(tmp_line, 256, socketd) && + while (SOCK_FGETS(tmp_line, sizeof(tmp_line), socketd) && !(isdigit((int) tmp_line[0]) && isdigit((int) tmp_line[1]) && isdigit((int) tmp_line[2]) && tmp_line[3] == ' '));

« previous php.version4 (#1582) next »