cvs: php4 / php.h /ext/standard/ basic_functions.c crypt.c datetime.c dns.c file.c microtime.c
[email protected] ("Andi Gutmans")
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <cvsandi959453711@cvsserver> |
andi Sat May 27 11:55:11 2000 EDT
Modified files:
/php4 php.h
/php4/ext/standard basic_functions.c crypt.c datetime.c dns.c
file.c microtime.c
Log:
- I'm not sure if PHP_NOT_IN_THIS_BUILD is the way to handle these
- functions but in any case I have changed it to PHP_NOT_IN_THIS_BUILD()
Index: php4/php.h
diff -u php4/php.h:1.96 php4/php.h:1.97
--- php4/php.h:1.96 Fri May 26 10:04:01 2000
+++ php4/php.h Sat May 27 11:55:10 2000
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php.h,v 1.96 2000/05/26 17:04:01 hholzgra Exp $ */
+/* $Id: php.h,v 1.97 2000/05/27 18:55:10 andi Exp $ */
#ifndef _PHP_H
#define _PHP_H
@@ -367,7 +367,7 @@
#endif
-#define PHP_NOT_IN_THIS_BUILD { \
+#define PHP_NOT_IN_THIS_BUILD() { \
php_error(E_WARNING, "%s: not supported in this PHP build",get_active_function_name()); \
RETURN_FALSE; \
}
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.195 php4/ext/standard/basic_functions.c:1.196
--- php4/ext/standard/basic_functions.c:1.195 Fri May 26 10:04:01 2000
+++ php4/ext/standard/basic_functions.c Sat May 27 11:55:11 2000
@@ -872,7 +872,7 @@
}
}
#else
- PHP_NOT_IN_THIS_BUILD;
+ PHP_NOT_IN_THIS_BUILD();
#endif
}
/* }}} */
Index: php4/ext/standard/crypt.c
diff -u php4/ext/standard/crypt.c:1.25 php4/ext/standard/crypt.c:1.26
--- php4/ext/standard/crypt.c:1.25 Fri May 26 10:04:02 2000
+++ php4/ext/standard/crypt.c Sat May 27 11:55:11 2000
@@ -17,7 +17,7 @@
| Rasmus Lerdorf <[email protected]> |
+----------------------------------------------------------------------+
*/
-/* $Id: crypt.c,v 1.25 2000/05/26 17:04:02 hholzgra Exp $ */
+/* $Id: crypt.c,v 1.26 2000/05/27 18:55:11 andi Exp $ */
#include <stdlib.h>
#include "php.h"
@@ -179,7 +179,7 @@
return_value->type = IS_STRING;
pval_copy_constructor(return_value);
#else
- PHP_NOT_IN_THIS_BUILD;
+ PHP_NOT_IN_THIS_BUILD();
#endif /* HAVE_CRYPT */
}
/* }}} */
Index: php4/ext/standard/datetime.c
diff -u php4/ext/standard/datetime.c:1.39 php4/ext/standard/datetime.c:1.40
--- php4/ext/standard/datetime.c:1.39 Fri May 26 10:04:02 2000
+++ php4/ext/standard/datetime.c Sat May 27 11:55:11 2000
@@ -19,7 +19,7 @@
*/
-/* $Id: datetime.c,v 1.39 2000/05/26 17:04:02 hholzgra Exp $ */
+/* $Id: datetime.c,v 1.40 2000/05/27 18:55:11 andi Exp $ */
#include "php.h"
@@ -686,7 +686,7 @@
#if HAVE_STRFTIME
_php_strftime(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0);
#else
- PHP_NOT_IN_THIS_BUILD;
+ PHP_NOT_IN_THIS_BUILD();
#endif
}
/* }}} */
@@ -698,7 +698,7 @@
#if HAVE_STRFTIME
_php_strftime(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1);
#else
- PHP_NOT_IN_THIS_BUILD;
+ PHP_NOT_IN_THIS_BUILD();
#endif
}
/* }}} */
Index: php4/ext/standard/dns.c
diff -u php4/ext/standard/dns.c:1.19 php4/ext/standard/dns.c:1.20
--- php4/ext/standard/dns.c:1.19 Fri May 26 10:04:02 2000
+++ php4/ext/standard/dns.c Sat May 27 11:55:11 2000
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dns.c,v 1.19 2000/05/26 17:04:02 hholzgra Exp $ */
+/* $Id: dns.c,v 1.20 2000/05/27 18:55:11 andi Exp $ */
#include "php.h"
#if HAVE_SYS_SOCKET_H
@@ -207,7 +207,7 @@
}
RETURN_TRUE;
#else
- PHP_NOT_IN_THIS_BUILD;
+ PHP_NOT_IN_THIS_BUILD();
#endif
}
/* }}} */
@@ -315,7 +315,7 @@
}
RETURN_TRUE;
#else
- PHP_NOT_IN_THIS_BUILD;
+ PHP_NOT_IN_THIS_BUILD();
#endif
}
/* }}} */
Index: php4/ext/standard/file.c
diff -u php4/ext/standard/file.c:1.82 php4/ext/standard/file.c:1.83
--- php4/ext/standard/file.c:1.82 Fri May 26 10:04:02 2000
+++ php4/ext/standard/file.c Sat May 27 11:55:11 2000
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: file.c,v 1.82 2000/05/26 17:04:02 hholzgra Exp $ */
+/* $Id: file.c,v 1.83 2000/05/27 18:55:11 andi Exp $ */
/* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
@@ -877,7 +877,7 @@
php_sockset_timeout(socketd, &t);
RETURN_TRUE;
#else
- PHP_NOT_IN_THIS_BUILD;
+ PHP_NOT_IN_THIS_BUILD();
#endif /* HAVE_SYS_TIME_H */
}
Index: php4/ext/standard/microtime.c
diff -u php4/ext/standard/microtime.c:1.24 php4/ext/standard/microtime.c:1.25
--- php4/ext/standard/microtime.c:1.24 Fri May 26 10:04:02 2000
+++ php4/ext/standard/microtime.c Sat May 27 11:55:11 2000
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: microtime.c,v 1.24 2000/05/26 17:04:02 hholzgra Exp $ */
+/* $Id: microtime.c,v 1.25 2000/05/27 18:55:11 andi Exp $ */
#include "php.h"
@@ -134,7 +134,7 @@
PHP_RUSAGE_PARA(ru_stime.tv_sec);
#undef PHP_RUSAGE_PARA
#else
- PHP_NOT_IN_THIS_BUILD;
+ PHP_NOT_IN_THIS_BUILD();
#endif /* HAVE_GETRUSAGE */
}