iliaa Wed Mar 31 15:44:05 2004 EDT Modified files: (Branch: PHP_4_3) /php-src NEWS /php-src/ext/ftp ftp.c Log: MFH: Fixed bug #27809 (ftp_systype returns null on some ftp servers). http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.619&r2=1.1247.2.620&ty=u Index: php-src/NEWS diff -u php-src/NEWS:1.1247.2.619 php-src/NEWS:1.1247.2.620 --- php-src/NEWS:1.1247.2.619 Wed Mar 31 12:01:44 2004 +++ php-src/NEWS Wed Mar 31 15:44:04 2004 @@ -2,6 +2,7 @@ ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? 2004, Version 4.3.6 - Synchronized bundled GD library with GD 2.0.22. (Ilia) +- Fixed bug #27809 (ftp_systype returns null on some ftp servers). (Ilia) - Fixed bug #27802 (default number of children to 8 when PHP_FCGI_CHILDREN is not defined). (Ilia) - Fixed bug #27782 (Wrong behaviour of next(), prev() and each()). (Ilia) http://cvs.php.net/diff.php/php-src/ext/ftp/ftp.c?r1=1.68.2.16&r2=1.68.2.17&ty=u Index: php-src/ext/ftp/ftp.c diff -u php-src/ext/ftp/ftp.c:1.68.2.16 php-src/ext/ftp/ftp.c:1.68.2.17 --- php-src/ext/ftp/ftp.c:1.68.2.16 Thu Mar 18 12:15:47 2004 +++ php-src/ext/ftp/ftp.c Wed Mar 31 15:44:04 2004 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ftp.c,v 1.68.2.16 2004/03/18 17:15:47 iliaa Exp $ */ +/* $Id: ftp.c,v 1.68.2.17 2004/03/31 20:44:04 iliaa Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -362,6 +362,9 @@ return NULL; syst = ftp->inbuf; + while (*syst == ' ') { + syst++; + } if ((end = strchr(syst, ' '))) *end = 0; ftp->syst = estrdup(syst);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php