cvs: php4(PHP_4_2_0) /ext/posix posix.c
| From: | Jani Taskinen | Date: | Sat, 13 Apr 2002 00:34:42 +0000 |
| Subject: | cvs: php4(PHP_4_2_0) /ext/posix posix.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11106@lists.php.net to get a copy of this message | ||
sniper Fri Apr 12 20:34:42 2002 EDT
Modified files: (Branch: PHP_4_2_0)
/php4/ext/posix posix.c
Log:
MFH: For example the compile in AIX does not like these at all..
Index: php4/ext/posix/posix.c
diff -u php4/ext/posix/posix.c:1.42.2.1 php4/ext/posix/posix.c:1.42.2.2
--- php4/ext/posix/posix.c:1.42.2.1 Wed Apr 10 02:22:42 2002
+++ php4/ext/posix/posix.c Fri Apr 12 20:34:42 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: posix.c,v 1.42.2.1 2002/04/10 06:22:42 derick Exp $ */
+/* $Id: posix.c,v 1.42.2.2 2002/04/13 00:34:42 sniper Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -130,7 +130,7 @@
static PHP_MINFO_FUNCTION(posix)
{
php_info_print_table_start();
- php_info_print_table_row(2, "Revision", "$Revision: 1.42.2.1 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.42.2.2 $");
php_info_print_table_end();
}
/* }}} */
@@ -367,8 +367,9 @@
}
if (array_init(return_value) == FAILURE) {
- // TODO: Should we issue a warning here so we don't have ambiguity
- // with the above return value ?
+ /* TODO: Should we issue a warning here so we don't have ambiguity
+ * with the above return value ?
+ */
RETURN_FALSE;
}
@@ -501,8 +502,9 @@
}
if (array_init(return_value) == FAILURE) {
- // TODO: Should we issue a warning here so we don't have ambiguity
- // with the above return value ?
+ /* TODO: Should we issue a warning here so we don't have ambiguity
+ * with the above return value ?
+ */
RETURN_FALSE;
}
@@ -537,8 +539,9 @@
}
if (array_init(return_value) == FAILURE) {
- // TODO: Should we issue a warning here so we don't have ambiguity
- // with the above return value ?
+ /* TODO: Should we issue a warning here so we don't have ambiguity
+ * with the above return value ?
+ */
RETURN_FALSE;
}
@@ -566,8 +569,9 @@
return;
if (NULL == (p = ctermid(buffer))) {
- // Found no documentation how the defined behaviour is when this
- // function fails
+ /* Found no documentation how the defined behaviour is when this
+ * function fails
+ */
POSIX_G(last_error) = errno;
RETURN_FALSE;
}
@@ -733,8 +737,9 @@
}
if (array_init(return_value) == FAILURE) {
- // TODO: Should we issue a warning here so we don't have ambiguity
- // with the above return value ?
+ /* TODO: Should we issue a warning here so we don't have ambiguity
+ * with the above return value ?
+ */
RETURN_FALSE;
}
@@ -762,8 +767,9 @@
}
if (array_init(return_value) == FAILURE) {
- // TODO: Should we issue a warning here so we don't have ambiguity
- // with the above return value ?
+ /* TODO: Should we issue a warning here so we don't have ambiguity
+ * with the above return value ?
+ */
RETURN_FALSE;
}