diff options
| author | Derick Rethans <derick@php.net> | 2002-07-01 18:52:30 +0000 |
|---|---|---|
| committer | Derick Rethans <derick@php.net> | 2002-07-01 18:52:30 +0000 |
| commit | d73eed92109952575928212a904553cec4c10e4f (patch) | |
| tree | 726aa2c7e1513cf0bb8ba363baf3b10f286d773e /ext/standard | |
| parent | 7cd7c55148761577555c9ab540c46c3b10f9ed43 (diff) | |
| download | php-git-d73eed92109952575928212a904553cec4c10e4f.tar.gz | |
- No C++ comments
Diffstat (limited to 'ext/standard')
| -rw-r--r-- | ext/standard/image.c | 4 | ||||
| -rw-r--r-- | ext/standard/info.c | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/ext/standard/image.c b/ext/standard/image.c index cb35773ac0..51a331ae0c 100644 --- a/ext/standard/image.c +++ b/ext/standard/image.c @@ -724,7 +724,7 @@ static struct gfxinfo *php_handle_iff(php_stream * stream TSRMLS_DC) result = (struct gfxinfo *) ecalloc(1, sizeof(struct gfxinfo)); - // loop chunks to find BMHD chunk + /* loop chunks to find BMHD chunk */ do { if (php_stream_read(stream, a, 8) != 8) { efree(result); @@ -735,7 +735,7 @@ static struct gfxinfo *php_handle_iff(php_stream * stream TSRMLS_DC) if ((size & 1) == 1) { size++; } - if (chunkId == 0x424d4844) { // BMHD chunk + if (chunkId == 0x424d4844) { /* BMHD chunk */ if (php_stream_read(stream, a, 9) != 9) { efree(result); return NULL; diff --git a/ext/standard/info.c b/ext/standard/info.c index d7c8ff6c28..bc80d841af 100644 --- a/ext/standard/info.c +++ b/ext/standard/info.c @@ -145,16 +145,16 @@ PHPAPI char *php_get_uname(char mode) dwWindowsMajorVersion, dwWindowsMinorVersion); php_uname = tmp_uname; } else if (mode == 'n') { - // XXX HOW TO GET THIS ON WINDOWS? + /* XXX HOW TO GET THIS ON WINDOWS? */ php_uname = "localhost"; } else if (mode == 'v') { dwBuild = (DWORD)(HIWORD(dwVersion)); snprintf(tmp_uname, sizeof(tmp_uname), "build %d", dwBuild); php_uname = tmp_uname; } else if (mode == 'm') { - // XXX HOW TO GET THIS ON WINDOWS? + /* XXX HOW TO GET THIS ON WINDOWS? */ php_uname = "i386"; - } else { // assume mode == 'a' + } else { /* assume mode == 'a' */ /* Get build numbers for Windows NT or Win95 */ if (dwVersion < 0x80000000){ dwBuild = (DWORD)(HIWORD(dwVersion)); @@ -184,7 +184,7 @@ PHPAPI char *php_get_uname(char mode) php_uname = buf.version; } else if (mode == 'm') { php_uname = buf.machine; - } else { // assume mode == 'a' + } else { /* assume mode == 'a' */ snprintf(tmp_uname, sizeof(tmp_uname), "%s %s %s %s %s", buf.sysname, buf.nodename, buf.release, buf.version, buf.machine); @@ -295,12 +295,12 @@ PHPAPI void php_print_info(int flag TSRMLS_DC) php_info_print_table_row(2, "Registered PHP Streams", stream_protocols_buf); efree(stream_protocols_buf); } else { - // Any chances we will ever hit this? + /* Any chances we will ever hit this? */ php_info_print_table_row(2, "Registered PHP Streams", "no streams registered"); } } else { - // Any chances we will ever hit this? - php_info_print_table_row(2, "PHP Streams", "disabled"); // ?? + /* Any chances we will ever hit this? */ + php_info_print_table_row(2, "PHP Streams", "disabled"); /* ?? */ } } |
