cvs: php4 /ext/posix posix.c

From: Date: Sat, 13 Apr 2002 00:31:58 +0000
Subject: cvs: php4 /ext/posix posix.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11105@lists.php.net to get a copy of this message
sniper Fri Apr 12 20:31:58 2002 EDT Modified files: /php4/ext/posix posix.c Log: Do NOT use c++ comments in c code!!!!! Index: php4/ext/posix/posix.c diff -u php4/ext/posix/posix.c:1.43 php4/ext/posix/posix.c:1.44 --- php4/ext/posix/posix.c:1.43 Wed Apr 10 02:22:12 2002 +++ php4/ext/posix/posix.c Fri Apr 12 20:31:55 2002 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: posix.c,v 1.43 2002/04/10 06:22:12 derick Exp $ */ +/* $Id: posix.c,v 1.44 2002/04/13 00:31:55 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.43 $"); + php_info_print_table_row(2, "Revision", "$Revision: 1.44 $"); 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; }

« previous php.cvs (#11105) next »