sniper Tue Jan 25 08:43:27 2005 EDT Modified files: (Branch: PHP_5_0) /php-src NEWS /php-src/ext/dio dio.c Log: MFH: - Fixed bug #31684 (dio_tcsetattr(): misconfigured termios settings) http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1760.2.212&r2=1.1760.2.213&ty=u Index: php-src/NEWS diff -u php-src/NEWS:1.1760.2.212 php-src/NEWS:1.1760.2.213 --- php-src/NEWS:1.1760.2.212 Tue Jan 25 07:54:57 2005 +++ php-src/NEWS Tue Jan 25 08:43:27 2005 @@ -8,6 +8,8 @@ - Changed phpize not to require libtool. (Jani) - Fixed build system to always use bundled libtool files. (Jani) - Fixed a bug in mysqli_stmt_execute() (type conversion with NULL values). (Georg) +- Fixed bug #31684 (dio_tcsetattr(): misconfigured termios settings). + (elod at itfais dot com) - Fixed bug #31651 (ReflectionClass::getDefaultProperties segfaults with arrays). (Marcus) - Fixed bug #31623 (OCILogin does not support password grace period). http://cvs.php.net/diff.php/php-src/ext/dio/dio.c?r1=1.34.2.4&r2=1.34.2.5&ty=u Index: php-src/ext/dio/dio.c diff -u php-src/ext/dio/dio.c:1.34.2.4 php-src/ext/dio/dio.c:1.34.2.5 --- php-src/ext/dio/dio.c:1.34.2.4 Wed Nov 17 18:42:28 2004 +++ php-src/ext/dio/dio.c Tue Jan 25 08:43:27 2005 @@ -611,6 +611,8 @@ RETURN_FALSE; } + memset(&newtio, 0, sizeof(newtio)); + tcgetattr(f->fd, &newtio); newtio.c_cflag = BAUD | CRTSCTS | DATABITS | STOPBITS | PARITYON | PARITY | CLOCAL | CREAD; newtio.c_iflag = IGNPAR; newtio.c_oflag = 0;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php