sniper Tue Jan 25 08:43:37 2005 EDT Modified files: (Branch: PHP_4_3) /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.1247.2.816&r2=1.1247.2.817&ty=u Index: php-src/NEWS diff -u php-src/NEWS:1.1247.2.816 php-src/NEWS:1.1247.2.817 --- php-src/NEWS:1.1247.2.816 Tue Jan 25 07:55:55 2005 +++ php-src/NEWS Tue Jan 25 08:43:36 2005 @@ -5,6 +5,8 @@ - Changed phpize not to require libtool. (Jani) - Fixed build system to always use bundled libtool files. (Jani) - Fixed MacOSX shared extensions crashing on Apache startup. (Rasmus) +- Fixed bug #31684 (dio_tcsetattr(): misconfigured termios settings). + (elod at itfais dot com) - Fixed bug #31623 (OCILogin does not support password grace period). (daniel dot beet at accuratesoftware dot com, Tony) - Fixed bug #31580 (fgetcsv() problematic with "" escape sequences). (Ilia) http://cvs.php.net/diff.php/php-src/ext/dio/dio.c?r1=1.21.2.11&r2=1.21.2.12&ty=u Index: php-src/ext/dio/dio.c diff -u php-src/ext/dio/dio.c:1.21.2.11 php-src/ext/dio/dio.c:1.21.2.12 --- php-src/ext/dio/dio.c:1.21.2.11 Wed Nov 17 18:43:31 2004 +++ php-src/ext/dio/dio.c Tue Jan 25 08:43:37 2005 @@ -596,6 +596,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