cvs: php4 /ext/ncurses ncurses_fe.c php_ncurses_fe.h
| From: | Jani Taskinen | Date: | Fri, 14 Dec 2001 03:05:54 +0000 |
| Subject: | cvs: php4 /ext/ncurses ncurses_fe.c php_ncurses_fe.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8618@lists.php.net to get a copy of this message | ||
sniper Thu Dec 13 22:05:54 2001 EDT
Modified files:
/php4/ext/ncurses ncurses_fe.c php_ncurses_fe.h
Log:
Got some undefined symbol without this patch..
# Also, shouldn't this extension be only available when building a CGI ?
Index: php4/ext/ncurses/ncurses_fe.c
diff -u php4/ext/ncurses/ncurses_fe.c:1.7 php4/ext/ncurses/ncurses_fe.c:1.8
--- php4/ext/ncurses/ncurses_fe.c:1.7 Tue Dec 11 10:29:57 2001
+++ php4/ext/ncurses/ncurses_fe.c Thu Dec 13 22:05:54 2001
@@ -133,7 +133,11 @@
PHP_FE(ncurses_mvinch, NULL)
PHP_FE(ncurses_mvwaddstr, NULL)
PHP_FE(ncurses_insstr, NULL)
+
+#if 0
PHP_FE(ncurses_instr, NULL)
+#endif
+
PHP_FE(ncurses_mvhline, NULL)
PHP_FE(ncurses_mvcur, NULL)
PHP_FE(ncurses_init_color, NULL)
Index: php4/ext/ncurses/php_ncurses_fe.h
diff -u php4/ext/ncurses/php_ncurses_fe.h:1.7 php4/ext/ncurses/php_ncurses_fe.h:1.8
--- php4/ext/ncurses/php_ncurses_fe.h:1.7 Tue Dec 11 10:29:57 2001
+++ php4/ext/ncurses/php_ncurses_fe.h Thu Dec 13 22:05:54 2001
@@ -123,7 +123,11 @@
PHP_FUNCTION(ncurses_mvinch);
PHP_FUNCTION(ncurses_mvwaddstr);
PHP_FUNCTION(ncurses_insstr);
+
+#if 0
PHP_FUNCTION(ncurses_instr);
+#endif
+
PHP_FUNCTION(ncurses_mvhline);
PHP_FUNCTION(ncurses_mvcur);
PHP_FUNCTION(ncurses_init_color);