From c46199f5b98c35b911d18eb6a9646ccb118d46ef Mon Sep 17 00:00:00 2001 From: foobar Date: Sat, 13 Apr 2002 00:31:55 +0000 Subject: Do NOT use c++ comments in c code!!!!! --- ext/posix/posix.c | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) (limited to 'ext/posix/posix.c') 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; } -- cgit v1.2.1