cvs: php-src(PHP_4_3) / NEWS /ext/dio dio.c
| From: | Jani Taskinen | Date: | Mon, 01 Dec 2003 16:38:25 +0000 |
| Subject: | cvs: php-src(PHP_4_3) / NEWS /ext/dio dio.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-24795@lists.php.net to get a copy of this message | ||
sniper Mon Dec 1 11:38:25 2003 EDT
Modified files: (Branch: PHP_4_3)
/php-src NEWS
/php-src/ext/dio dio.c
Log:
MFH: - Fixed bug #26488 (Missing declaration of CRTSCTS in ext/dio/dio.c)
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.488 php-src/NEWS:1.1247.2.489
--- php-src/NEWS:1.1247.2.488 Mon Dec 1 11:12:35 2003
+++ php-src/NEWS Mon Dec 1 11:38:20 2003
@@ -5,6 +5,7 @@
(Jani)
- Fixed header handler in NSAPI SAPI module (header->replace was ignored,
send_default_content_type now sends value from php.ini). (Uwe Schindler)
+- Fixed bug #26488 (Missing declaration of CRTSCTS in ext/dio/dio.c). (Jani)
- Fixed bug #26467 (flock() does not force the "wouldblock" parameter to be
passed by reference). (Wez)
- Fixed bug #26463 (Incorrect handling of semicolons after heredoc). (Ilia)
Index: php-src/ext/dio/dio.c
diff -u php-src/ext/dio/dio.c:1.21.2.4 php-src/ext/dio/dio.c:1.21.2.5
--- php-src/ext/dio/dio.c:1.21.2.4 Thu Aug 28 16:01:26 2003
+++ php-src/ext/dio/dio.c Mon Dec 1 11:38:23 2003
@@ -31,6 +31,15 @@
#include <fcntl.h>
#include <termios.h>
+/* e.g. IRIX does not have CRTSCTS */
+#ifndef CRTSCTS
+# ifdef CNEW_RTSCTS
+# define CRTSCTS CNEW_RTSCTS
+# else
+# define CRTSCTS 0
+# endif /* CNEW_RTSCTS */
+#endif /* !CRTSCTS */
+
#define le_fd_name "Direct I/O File Descriptor"
static int le_fd;