From: foobar Date: Sat, 13 Apr 2002 00:31:55 +0000 (+0000) Subject: Do NOT use c++ comments in c code!!!!! X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~674 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c46199f5b98c35b911d18eb6a9646ccb118d46ef;p=php Do NOT use c++ comments in c code!!!!! --- diff --git a/ext/posix/posix.c b/ext/posix/posix.c index 567c9551b2..6f8dc85122 100644 --- a/ext/posix/posix.c +++ b/ext/posix/posix.c @@ -367,8 +367,9 @@ PHP_FUNCTION(posix_getgroups) } 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 @@ PHP_FUNCTION(posix_uname) } 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 @@ PHP_FUNCTION(posix_times) } 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 @@ PHP_FUNCTION(posix_ctermid) 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 @@ PHP_FUNCTION(posix_getgrnam) } 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 @@ PHP_FUNCTION(posix_getgrgid) } 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; }