cvs: /php4 php.h /php4/ext/standard basic_functions.c link.c
| From: | Andrey Zmievski | Date: | Wed, 28 Jul 1999 13:59:36 +0000 |
| Subject: | cvs: /php4 php.h /php4/ext/standard basic_functions.c link.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-2906@lists.php.net to get a copy of this message | ||
andrey Wed Jul 28 09:59:36 1999 EDT
Modified files:
/php4 php.h
/php4/ext/standard basic_functions.c link.c
Log:
Fix link functions problem.
Index: php4/php.h
diff -u php4/php.h:1.22 php4/php.h:1.23
--- php4/php.h:1.22 Mon Jul 26 16:09:04 1999
+++ php4/php.h Wed Jul 28 09:59:35 1999
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php.h,v 1.22 1999/07/26 20:09:04 andrey Exp $ */
+/* $Id: php.h,v 1.23 1999/07/28 13:59:35 andrey Exp $ */
#ifndef _PHP_H
#define _PHP_H
@@ -275,6 +275,7 @@
extern void phperror(char *error);
extern PHPAPI void php3_error(int type, const char *format,...);
+extern PHPAPI int php3_write(void *buf, int size);
extern PHPAPI int php3_printf(const char *format,...);
extern void php3_log_err(char *log_message);
extern int Debug(char *format,...);
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.59 php4/ext/standard/basic_functions.c:1.60
--- php4/ext/standard/basic_functions.c:1.59 Tue Jul 27 13:30:45 1999
+++ php4/ext/standard/basic_functions.c Wed Jul 28 09:59:35 1999
@@ -172,6 +172,12 @@
PHP_FE(urldecode, NULL)
PHP_FE(rawurlencode, NULL)
PHP_FE(rawurldecode, NULL)
+
+ PHP_FE(readlink, NULL)
+ PHP_FE(linkinfo, NULL)
+ PHP_FE(symlink, NULL)
+ PHP_FE(link, NULL)
+ PHP_FE(unlink, NULL)
PHP_FE(exec, second_and_third_args_force_ref)
PHP_FE(system, second_arg_force_ref)
Index: php4/ext/standard/link.c
diff -u php4/ext/standard/link.c:1.6 php4/ext/standard/link.c:1.7
--- php4/ext/standard/link.c:1.6 Sat Jul 24 18:16:54 1999
+++ php4/ext/standard/link.c Wed Jul 28 09:59:35 1999
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: link.c,v 1.6 1999/07/24 22:16:54 andrey Exp $ */
+/* $Id: link.c,v 1.7 1999/07/28 13:59:35 andrey Exp $ */
#include "php.h"
#include "php3_filestat.h"
@@ -181,15 +181,6 @@
RETURN_TRUE;
}
/* }}} */
-
-function_entry link_functions[] = {
- PHP_FE(readlink, NULL)
- PHP_FE(linkinfo, NULL)
- PHP_FE(symlink, NULL)
- PHP_FE(link, NULL)
- PHP_FE(unlink, NULL)
- {NULL, NULL, NULL}
-};
/*