diff options
author | foobar <sniper@php.net> | 2002-04-13 00:31:55 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2002-04-13 00:31:55 +0000 |
commit | c46199f5b98c35b911d18eb6a9646ccb118d46ef (patch) | |
tree | 894590d71f2d60d6172cf171bd62abe1bf6be2b2 | |
parent | cff79286b8ebf7b8e0717daa2b6662a4fe6cb43f (diff) | |
download | php-git-c46199f5b98c35b911d18eb6a9646ccb118d46ef.tar.gz |
Do NOT use c++ comments in c code!!!!!
-rw-r--r-- | ext/posix/posix.c | 30 |
1 files changed, 18 insertions, 12 deletions
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; } |