jani Sun Aug 3 12:15:57 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/com_dotnet com_handlers.c com_saproxy.c
/php-src/ext/ming ming.c
/php-src/ext/pdo_mysql mysql_driver.c
/php-src/ext/pdo_odbc odbc_stmt.c
/php-src/ext/pgsql pgsql.c
/php-src/ext/sqlite3/libsqlite sqlite3.c
/php-src/ext/standard basic_functions.c
/php-src/ext/xmlrpc/libxmlrpc xml_to_soap.c
/php-src/ext/zip/lib zip_close.c
/php-src/sapi/apache2filter sapi_apache2.c
Log:
MFH: nuketh C++ comments
http://cvs.php.net/viewvc.cgi/php-src/ext/com_dotnet/com_handlers.c?r1=1.30.2.5.2.6.2.3&r2=1.30.2.5.2.6.2.4&diff_format=u
Index: php-src/ext/com_dotnet/com_handlers.c
diff -u php-src/ext/com_dotnet/com_handlers.c:1.30.2.5.2.6.2.3
php-src/ext/com_dotnet/com_handlers.c:1.30.2.5.2.6.2.4
--- php-src/ext/com_dotnet/com_handlers.c:1.30.2.5.2.6.2.3 Mon Dec 31
07:17:06 2007
+++ php-src/ext/com_dotnet/com_handlers.c Sun Aug 3 12:15:47 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: com_handlers.c,v 1.30.2.5.2.6.2.3 2007/12/31 07:17:06 sebastian Exp $
*/
+/* $Id: com_handlers.c,v 1.30.2.5.2.6.2.4 2008/08/03 12:15:47 jani Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -566,8 +566,8 @@
com_read_dimension,
com_write_dimension,
NULL,
- NULL, //com_object_get,
- NULL, //com_object_set,
+ NULL, /* com_object_get, */
+ NULL, /* com_object_set, */
com_property_exists,
com_property_delete,
com_dimension_exists,
http://cvs.php.net/viewvc.cgi/php-src/ext/com_dotnet/com_saproxy.c?r1=1.15.2.2.2.3.2.2&r2=1.15.2.2.2.3.2.3&diff_format=u
Index: php-src/ext/com_dotnet/com_saproxy.c
diff -u php-src/ext/com_dotnet/com_saproxy.c:1.15.2.2.2.3.2.2
php-src/ext/com_dotnet/com_saproxy.c:1.15.2.2.2.3.2.3
--- php-src/ext/com_dotnet/com_saproxy.c:1.15.2.2.2.3.2.2 Mon Dec 31
07:17:06 2007
+++ php-src/ext/com_dotnet/com_saproxy.c Sun Aug 3 12:15:47 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: com_saproxy.c,v 1.15.2.2.2.3.2.2 2007/12/31 07:17:06 sebastian Exp $ */
+/* $Id: com_saproxy.c,v 1.15.2.2.2.3.2.3 2008/08/03 12:15:47 jani Exp $ */
/* This module implements a SafeArray proxy which is used internally
* by the engine when resolving multi-dimensional array accesses on
@@ -386,8 +386,8 @@
saproxy_read_dimension,
saproxy_write_dimension,
NULL,
- NULL, //saproxy_object_get,
- NULL, //saproxy_object_set,
+ NULL, /* saproxy_object_get, */
+ NULL, /* saproxy_object_set, */
saproxy_property_exists,
saproxy_property_delete,
saproxy_dimension_exists,
http://cvs.php.net/viewvc.cgi/php-src/ext/ming/ming.c?r1=1.79.2.4.2.8.2.9&r2=1.79.2.4.2.8.2.10&diff_format=u
Index: php-src/ext/ming/ming.c
diff -u php-src/ext/ming/ming.c:1.79.2.4.2.8.2.9
php-src/ext/ming/ming.c:1.79.2.4.2.8.2.10
--- php-src/ext/ming/ming.c:1.79.2.4.2.8.2.9 Sun Jul 27 21:32:48 2008
+++ php-src/ext/ming/ming.c Sun Aug 3 12:15:47 2008
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ming.c,v 1.79.2.4.2.8.2.9 2008/07/27 21:32:48 helly Exp $ */
+/* $Id: ming.c,v 1.79.2.4.2.8.2.10 2008/08/03 12:15:47 jani Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -2508,7 +2508,7 @@
}
matrix = newSWFFilterMatrix(cols, rows, values);
- free(values); // array is copied by libming
+ free(values); /* array is copied by libming */
ret = zend_list_insert(matrix, le_swffiltermatrixp);
object_init_ex(getThis(), filtermatrix_class_entry_ptr);
add_property_resource(getThis(), "filtermatrix", ret);
@@ -3452,7 +3452,7 @@
case 0:
stream = newSWFVideoStream();
break;
- default: // warn
+ default: /* warn */
return;
}
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_mysql/mysql_driver.c?r1=1.59.2.13.2.5.2.3&r2=1.59.2.13.2.5.2.4&diff_format=u
Index: php-src/ext/pdo_mysql/mysql_driver.c
diff -u php-src/ext/pdo_mysql/mysql_driver.c:1.59.2.13.2.5.2.3
php-src/ext/pdo_mysql/mysql_driver.c:1.59.2.13.2.5.2.4
--- php-src/ext/pdo_mysql/mysql_driver.c:1.59.2.13.2.5.2.3 Mon Jul 21
13:09:27 2008
+++ php-src/ext/pdo_mysql/mysql_driver.c Sun Aug 3 12:15:47 2008
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mysql_driver.c,v 1.59.2.13.2.5.2.3 2008/07/21 13:09:27 johannes Exp $
*/
+/* $Id: mysql_driver.c,v 1.59.2.13.2.5.2.4 2008/08/03 12:15:47 jani Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -423,7 +423,7 @@
#ifndef PDO_USE_MYSQLND
case PDO_MYSQL_ATTR_MAX_BUFFER_SIZE:
if (Z_LVAL_P(val) < 0) {
- // TODO - Johannes, can we throw a warning here?
+ /* TODO: Johannes, can we throw a warning here?
*/
((pdo_mysql_db_handle
*)dbh->driver_data)->max_buffer_size = 1024*1024;
PDO_DBG_INF_FMT("Adjusting invalid buffer size
to =%l", ((pdo_mysql_db_handle *)dbh->driver_data)->max_buffer_size);
} else {
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_odbc/odbc_stmt.c?r1=1.26.2.2.2.3.2.2&r2=1.26.2.2.2.3.2.3&diff_format=u
Index: php-src/ext/pdo_odbc/odbc_stmt.c
diff -u php-src/ext/pdo_odbc/odbc_stmt.c:1.26.2.2.2.3.2.2
php-src/ext/pdo_odbc/odbc_stmt.c:1.26.2.2.2.3.2.3
--- php-src/ext/pdo_odbc/odbc_stmt.c:1.26.2.2.2.3.2.2 Thu Mar 13 16:55:09 2008
+++ php-src/ext/pdo_odbc/odbc_stmt.c Sun Aug 3 12:15:47 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: odbc_stmt.c,v 1.26.2.2.2.3.2.2 2008/03/13 16:55:09 auroraeosrose Exp $
*/
+/* $Id: odbc_stmt.c,v 1.26.2.2.2.3.2.3 2008/08/03 12:15:47 jani Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -67,7 +67,7 @@
ret = MultiByteToWideChar(CP_UTF8, 0, buf, buflen, NULL, 0);
if (ret == 0) {
- //printf("%s:%d %d [%d] %.*s\n", __FILE__, __LINE__,
GetLastError(), buflen, buflen, buf);
+ /*printf("%s:%d %d [%d] %.*s\n", __FILE__, __LINE__,
GetLastError(), buflen, buflen, buf);*/
return PDO_ODBC_CONV_FAIL;
}
@@ -80,7 +80,7 @@
ret = MultiByteToWideChar(CP_UTF8, 0, buf, buflen,
(LPWSTR)S->convbuf, S->convbufsize / sizeof(WCHAR));
if (ret == 0) {
- //printf("%s:%d %d [%d] %.*s\n", __FILE__, __LINE__,
GetLastError(), buflen, buflen, buf);
+ /*printf("%s:%d %d [%d] %.*s\n", __FILE__, __LINE__,
GetLastError(), buflen, buflen, buf);*/
return PDO_ODBC_CONV_FAIL;
}
http://cvs.php.net/viewvc.cgi/php-src/ext/pgsql/pgsql.c?r1=1.331.2.13.2.24.2.11&r2=1.331.2.13.2.24.2.12&diff_format=u
Index: php-src/ext/pgsql/pgsql.c
diff -u php-src/ext/pgsql/pgsql.c:1.331.2.13.2.24.2.11
php-src/ext/pgsql/pgsql.c:1.331.2.13.2.24.2.12
--- php-src/ext/pgsql/pgsql.c:1.331.2.13.2.24.2.11 Fri Jul 25 08:23:07 2008
+++ php-src/ext/pgsql/pgsql.c Sun Aug 3 12:15:47 2008
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pgsql.c,v 1.331.2.13.2.24.2.11 2008/07/25 08:23:07 dmitry Exp $ */
+/* $Id: pgsql.c,v 1.331.2.13.2.24.2.12 2008/08/03 12:15:47 jani Exp $ */
#include <stdlib.h>
@@ -3403,7 +3403,7 @@
id = PGG(default_link);
CHECK_DEFAULT_LINK(id);
}
- // old calling convention, deprecated since PHP 4.2
+ /* old calling convention, deprecated since PHP 4.2 */
else if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, argc
TSRMLS_CC,
"sr",
&file_in, &name_len, &pgsql_link ) == SUCCESS) {
php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Old API is used");
http://cvs.php.net/viewvc.cgi/php-src/ext/sqlite3/libsqlite/sqlite3.c?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/sqlite3/libsqlite/sqlite3.c
diff -u php-src/ext/sqlite3/libsqlite/sqlite3.c:1.1.2.2
php-src/ext/sqlite3/libsqlite/sqlite3.c:1.1.2.3
--- php-src/ext/sqlite3/libsqlite/sqlite3.c:1.1.2.2 Thu Jul 31 00:46:45 2008
+++ php-src/ext/sqlite3/libsqlite/sqlite3.c Sun Aug 3 12:15:47 2008
@@ -41,7 +41,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
-** @(#) $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** @(#) $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
#ifndef _SQLITEINT_H_
#define _SQLITEINT_H_
@@ -70,7 +70,7 @@
**
** This file defines various limits of what SQLite can process.
**
-** @(#) $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** @(#) $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/*
@@ -436,7 +436,7 @@
** the version number) and changes its name to "sqlite3.h" as
** part of the build process.
**
-** @(#) $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** @(#) $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
#ifndef _SQLITE3_H_
#define _SQLITE3_H_
@@ -6061,7 +6061,7 @@
** This is the header file for the generic hash-table implemenation
** used in SQLite.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
#ifndef _SQLITE_HASH_H_
#define _SQLITE_HASH_H_
@@ -6578,7 +6578,7 @@
** subsystem. See comments in the source code for a detailed description
** of what each interface routine does.
**
-** @(#) $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** @(#) $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
#ifndef _BTREE_H_
#define _BTREE_H_
@@ -6797,7 +6797,7 @@
** or VDBE. The VDBE implements an abstract machine that runs a
** simple program to access and modify the underlying database.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
#ifndef _SQLITE_VDBE_H_
#define _SQLITE_VDBE_H_
@@ -7180,7 +7180,7 @@
** subsystem. The page cache subsystem reads and writes a file a page
** at a time and provides a journal for rollback.
**
-** @(#) $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** @(#) $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
#ifndef _PAGER_H_
@@ -7603,7 +7603,7 @@
** Source files should #include the sqliteInt.h file and let that file
** include this one indirectly.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
@@ -9481,7 +9481,7 @@
** sqlite3RegisterDateTimeFunctions() found at the bottom of the file.
** All other code has file scope.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
**
** SQLite processes all times and dates as Julian Day numbers. The
** dates and times are stored as the number of days since noon
@@ -10971,7 +10971,7 @@
** This file contains the C functions that implement a memory
** allocation subsystem for use by SQLite.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/*
@@ -11208,7 +11208,7 @@
** This file contains the C functions that implement a memory
** allocation subsystem for use by SQLite.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/*
@@ -11699,7 +11699,7 @@
** This version of the memory allocation subsystem is used if
** and only if SQLITE_MEMORY_SIZE is defined.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/*
@@ -12354,7 +12354,7 @@
** This version of the memory allocation subsystem is used if
** and only if SQLITE_POW2_MEMORY_SIZE is defined.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/*
@@ -12866,7 +12866,7 @@
** implementation is suitable for testing.
** debugging purposes
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
#ifdef SQLITE_MUTEX_NOOP_DEBUG
@@ -12986,7 +12986,7 @@
*************************************************************************
** This file contains the C functions that implement mutexes for OS/2
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/*
@@ -13234,7 +13234,7 @@
*************************************************************************
** This file contains the C functions that implement mutexes for pthreads
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/*
@@ -13540,7 +13540,7 @@
*************************************************************************
** This file contains the C functions that implement mutexes for win32
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/*
@@ -13762,7 +13762,7 @@
** Memory allocation functions used throughout sqlite.
**
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/*
@@ -14920,7 +14920,7 @@
** Random numbers are used by some of the database backends in order
** to generate random integer keys for tables or random filenames.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
@@ -15042,7 +15042,7 @@
** This file contains routines used to translate between UTF-8,
** UTF-16, UTF-16BE, and UTF-16LE.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
**
** Notes on UTF-8:
**
@@ -16021,7 +16021,7 @@
** This file contains functions for allocating memory, comparing
** strings, and stuff like that.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
@@ -16563,7 +16563,7 @@
u32 a,b,s;
a = *p;
- // a: p0 (unmasked)
+ /* a: p0 (unmasked) */
if (!(a&0x80))
{
*v = a;
@@ -16572,7 +16572,7 @@
p++;
b = *p;
- // b: p1 (unmasked)
+ /* b: p1 (unmasked) */
if (!(b&0x80))
{
a &= 0x7f;
@@ -16585,7 +16585,7 @@
p++;
a = a<<14;
a |= *p;
- // a: p0<<14 | p2 (unmasked)
+ /* a: p0<<14 | p2 (unmasked) */
if (!(a&0x80))
{
a &= (0x7f<<14)|(0x7f);
@@ -16596,41 +16596,41 @@
return 3;
}
- // CSE1 from below
+ /* CSE1 from below */
a &= (0x7f<<14)|(0x7f);
p++;
b = b<<14;
b |= *p;
- // b: p1<<14 | p3 (unmasked)
+ /* b: p1<<14 | p3 (unmasked) */
if (!(b&0x80))
{
b &= (0x7f<<14)|(0x7f);
- // moved CSE1 up
- // a &= (0x7f<<14)|(0x7f);
+ /* moved CSE1 up */
+ /* a &= (0x7f<<14)|(0x7f); */
a = a<<7;
a |= b;
*v = a;
return 4;
}
- // a: p0<<14 | p2 (masked)
- // b: p1<<14 | p3 (unmasked)
- // 1:save off p0<<21 | p1<<14 | p2<<7 | p3 (masked)
- // moved CSE1 up
- // a &= (0x7f<<14)|(0x7f);
+ /* a: p0<<14 | p2 (masked) */
+ /* b: p1<<14 | p3 (unmasked) */
+ /* 1:save off p0<<21 | p1<<14 | p2<<7 | p3 (masked) */
+ /* moved CSE1 up */
+ /* a &= (0x7f<<14)|(0x7f); */
b &= (0x7f<<14)|(0x7f);
s = a;
- // s: p0<<14 | p2 (masked)
+ /* s: p0<<14 | p2 (masked) */
p++;
a = a<<14;
a |= *p;
- // a: p0<<28 | p2<<14 | p4 (unmasked)
+ /* a: p0<<28 | p2<<14 | p4 (unmasked) */
if (!(a&0x80))
{
- // we can skip these cause they were (effectively) done above in calc'ing s
- // a &= (0x7f<<28)|(0x7f<<14)|(0x7f);
- // b &= (0x7f<<14)|(0x7f);
+ /* we can skip these cause they were (effectively) done above in calc'ing
s */
+ /* a &= (0x7f<<28)|(0x7f<<14)|(0x7f); */
+ /* b &= (0x7f<<14)|(0x7f); */
b = b<<7;
a |= b;
s = s>>18;
@@ -16638,19 +16638,19 @@
return 5;
}
- // 2:save off p0<<21 | p1<<14 | p2<<7 | p3 (masked)
+ /* 2:save off p0<<21 | p1<<14 | p2<<7 | p3 (masked) */
s = s<<7;
s |= b;
- // s: p0<<21 | p1<<14 | p2<<7 | p3 (masked)
+ /* s: p0<<21 | p1<<14 | p2<<7 | p3 (masked) */
p++;
b = b<<14;
b |= *p;
- // b: p1<<28 | p3<<14 | p5 (unmasked)
+ /* b: p1<<28 | p3<<14 | p5 (unmasked) */
if (!(b&0x80))
{
- // we can skip this cause it was (effectively) done above in calc'ing s
- // b &= (0x7f<<28)|(0x7f<<14)|(0x7f);
+ /* we can skip this cause it was (effectively) done above in calc'ing s */
+ /* b &= (0x7f<<28)|(0x7f<<14)|(0x7f); */
a &= (0x7f<<14)|(0x7f);
a = a<<7;
a |= b;
@@ -16662,7 +16662,7 @@
p++;
a = a<<14;
a |= *p;
- // a: p2<<28 | p4<<14 | p6 (unmasked)
+ /* a: p2<<28 | p4<<14 | p6 (unmasked) */
if (!(a&0x80))
{
a &= (0x7f<<28)|(0x7f<<14)|(0x7f);
@@ -16674,17 +16674,17 @@
return 7;
}
- // CSE2 from below
+ /* CSE2 from below */
a &= (0x7f<<14)|(0x7f);
p++;
b = b<<14;
b |= *p;
- // b: p3<<28 | p5<<14 | p7 (unmasked)
+ /* b: p3<<28 | p5<<14 | p7 (unmasked) */
if (!(b&0x80))
{
b &= (0x7f<<28)|(0x7f<<14)|(0x7f);
- // moved CSE2 up
- // a &= (0x7f<<14)|(0x7f);
+ /* moved CSE2 up */
+ /* a &= (0x7f<<14)|(0x7f); */
a = a<<7;
a |= b;
s = s>>4;
@@ -16695,10 +16695,10 @@
p++;
a = a<<15;
a |= *p;
- // a: p4<<29 | p6<<15 | p8 (unmasked)
+ /* a: p4<<29 | p6<<15 | p8 (unmasked) */
- // moved CSE2 up
- // a &= (0x7f<<29)|(0x7f<<15)|(0xff);
+ /* moved CSE2 up */
+ /* a &= (0x7f<<29)|(0x7f<<15)|(0xff); */
b &= (0x7f<<14)|(0x7f);
b = b<<8;
a |= b;
@@ -16725,7 +16725,7 @@
u32 a,b;
a = *p;
- // a: p0 (unmasked)
+ /* a: p0 (unmasked) */
#ifndef getVarint32
if (!(a&0x80))
{
@@ -16736,7 +16736,7 @@
p++;
b = *p;
- // b: p1 (unmasked)
+ /* b: p1 (unmasked) */
if (!(b&0x80))
{
a &= 0x7f;
@@ -16748,7 +16748,7 @@
p++;
a = a<<14;
a |= *p;
- // a: p0<<14 | p2 (unmasked)
+ /* a: p0<<14 | p2 (unmasked) */
if (!(a&0x80))
{
a &= (0x7f<<14)|(0x7f);
@@ -16761,7 +16761,7 @@
p++;
b = b<<14;
b |= *p;
- // b: p1<<14 | p3 (unmasked)
+ /* b: p1<<14 | p3 (unmasked) */
if (!(b&0x80))
{
b &= (0x7f<<14)|(0x7f);
@@ -16774,7 +16774,7 @@
p++;
a = a<<14;
a |= *p;
- // a: p0<<28 | p2<<14 | p4 (unmasked)
+ /* a: p0<<28 | p2<<14 | p4 (unmasked) */
if (!(a&0x80))
{
a &= (0x7f<<28)|(0x7f<<14)|(0x7f);
@@ -16977,7 +16977,7 @@
** This is the implementation of generic hash-tables
** used in SQLite.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/* Turn bulk memory into a hash table object by initializing the
@@ -18329,7 +18329,7 @@
OSTRACE2( "OPEN want %d\n", flags );
- //ulOpenMode = flags & SQLITE_OPEN_READWRITE ? OPEN_ACCESS_READWRITE :
OPEN_ACCESS_READONLY;
+ /* ulOpenMode = flags & SQLITE_OPEN_READWRITE ? OPEN_ACCESS_READWRITE :
OPEN_ACCESS_READONLY; */
if( flags & SQLITE_OPEN_READWRITE ){
ulOpenMode |= OPEN_ACCESS_READWRITE;
OSTRACE1( "OPEN read/write\n" );
@@ -18338,7 +18338,7 @@
OSTRACE1( "OPEN read only\n" );
}
- //ulOpenFlags = flags & SQLITE_OPEN_CREATE ? OPEN_ACTION_CREATE_IF_NEW :
OPEN_ACTION_FAIL_IF_NEW;
+ /* ulOpenFlags = flags & SQLITE_OPEN_CREATE ? OPEN_ACTION_CREATE_IF_NEW :
OPEN_ACTION_FAIL_IF_NEW; */
if( flags & SQLITE_OPEN_CREATE ){
ulOpenFlags |= OPEN_ACTION_OPEN_IF_EXISTS | OPEN_ACTION_CREATE_IF_NEW;
OSTRACE1( "OPEN open new/create\n" );
@@ -18347,7 +18347,7 @@
OSTRACE1( "OPEN open existing\n" );
}
- //ulOpenMode |= flags & SQLITE_OPEN_MAIN_DB ? OPEN_SHARE_DENYNONE :
OPEN_SHARE_DENYWRITE;
+ /* ulOpenMode |= flags & SQLITE_OPEN_MAIN_DB ? OPEN_SHARE_DENYNONE :
OPEN_SHARE_DENYWRITE; */
if( flags & SQLITE_OPEN_MAIN_DB ){
ulOpenMode |= OPEN_SHARE_DENYNONE;
OSTRACE1( "OPEN share read/write\n" );
@@ -18359,7 +18359,7 @@
if( flags & (SQLITE_OPEN_TEMP_DB | SQLITE_OPEN_TEMP_JOURNAL
| SQLITE_OPEN_SUBJOURNAL) ){
char pathUtf8[CCHMAXPATH];
- //ulFileAttribute = FILE_HIDDEN; //for debugging, we want to make sure it
is deleted
+ /* ulFileAttribute = FILE_HIDDEN; //for debugging, we want to make sure
it is deleted */
ulFileAttribute = FILE_NORMAL;
sqlite3OsFullPathname( pVfs, zName, CCHMAXPATH, pathUtf8 );
pFile->pathToDel = convertUtf8PathToCp( pathUtf8 );
@@ -23380,7 +23380,7 @@
** start of a transaction, and is thus usually less than a few thousand,
** but can be as large as 2 billion for a really big database.
**
-** @(#) $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** @(#) $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
#define BITVEC_SZ 512
@@ -23693,7 +23693,7 @@
** file simultaneously, or one process from reading the database while
** another is writing.
**
-** @(#) $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** @(#) $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
#ifndef SQLITE_OMIT_DISKIO
@@ -29001,7 +29001,7 @@
**
*************************************************************************
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
**
** This file contains code used to implement mutexes on Btree objects.
** This code really belongs in btree.c. But btree.c is getting too
@@ -29021,7 +29021,7 @@
** May you share freely, never taking more than you give.
**
*************************************************************************
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
**
** This file implements a external (disk-based) database using BTrees.
** For a detailed discussion of BTrees, refer to
@@ -29963,7 +29963,7 @@
** May you share freely, never taking more than you give.
**
*************************************************************************
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
**
** This file implements a external (disk-based) database using BTrees.
** See the header comment on "btreeInt.h" for additional information.
@@ -38280,7 +38280,7 @@
** to version 2.8.7, all this code was combined into the vdbe.c source file.
** But that file was getting too big so this subroutines were split out.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
@@ -42034,7 +42034,7 @@
** in this file for details. If in doubt, do not deviate from existing
** commenting and indentation practices when changing or adding code.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/*
@@ -46949,7 +46949,7 @@
**
** This file contains code used to implement incremental BLOB I/O.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
@@ -47296,7 +47296,7 @@
**
*************************************************************************
**
-** @(#) $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** @(#) $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
#ifdef SQLITE_ENABLE_ATOMIC_WRITE
@@ -47539,7 +47539,7 @@
** This file contains routines used for analyzing expressions and
** for generating VDBE code that evaluates expressions in SQLite.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/*
@@ -50996,7 +50996,7 @@
** This file contains C code routines that used to generate VDBE code
** that implements the ALTER TABLE command.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/*
@@ -51626,7 +51626,7 @@
*************************************************************************
** This file contains code associated with the ANALYZE command.
**
-** @(#) $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** @(#) $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
#ifndef SQLITE_OMIT_ANALYZE
@@ -52053,7 +52053,7 @@
*************************************************************************
** This file contains code used to implement the ATTACH and DETACH commands.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
#ifndef SQLITE_OMIT_ATTACH
@@ -52588,7 +52588,7 @@
** systems that do not need this facility may omit it by recompiling
** the library with -DSQLITE_OMIT_AUTHORIZATION=1
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/*
@@ -52832,7 +52832,7 @@
** COMMIT
** ROLLBACK
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/*
@@ -56313,7 +56313,7 @@
** This file contains functions used to access the internal hash tables
** of user defined functions and collation sequences.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
@@ -56692,7 +56692,7 @@
** This file contains C code routines that are called by the parser
** in order to generate code for DELETE FROM statements.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/*
@@ -57242,7 +57242,7 @@
** sqliteRegisterBuildinFunctions() found at the bottom of the file.
** All other code has file scope.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
@@ -58632,7 +58632,7 @@
** This file contains C code routines that are called by the parser
** to handle INSERT statements in SQLite.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/*
@@ -60307,7 +60307,7 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
@@ -60472,7 +60472,7 @@
** as extensions by SQLite should #include this file instead of
** sqlite3.h.
**
-** @(#) $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** @(#) $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
#ifndef _SQLITE3EXT_H_
#define _SQLITE3EXT_H_
@@ -61359,7 +61359,7 @@
*************************************************************************
** This file contains code used to implement the PRAGMA command.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/* Ignore this whole file if pragmas are disabled
@@ -62651,7 +62651,7 @@
** interface, and routines that contribute to loading the database schema
** from disk.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/*
@@ -63455,7 +63455,7 @@
** This file contains C code routines that are called by the parser
** to handle SELECT statements in SQLite.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
@@ -68244,7 +68244,7 @@
** This file contains C code routines that are called by the parser
** to handle UPDATE statements.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
#ifndef SQLITE_OMIT_VIRTUALTABLE
@@ -68926,7 +68926,7 @@
** Most of the code in this file may be omitted by defining the
** SQLITE_OMIT_VACUUM macro.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
#if !defined(SQLITE_OMIT_VACUUM) && !defined(SQLITE_OMIT_ATTACH)
@@ -69200,7 +69200,7 @@
*************************************************************************
** This file contains code used to help implement virtual tables.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
#ifndef SQLITE_OMIT_VIRTUALTABLE
@@ -70033,7 +70033,7 @@
** so is applicable. Because this module is responsible for selecting
** indices, you might also think of this module as the "query optimizer".
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/*
@@ -76147,7 +76147,7 @@
** individual tokens and sends those tokens one-by-one over to the
** parser for analysis.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
/*
@@ -76200,7 +76200,7 @@
**
** The code in this file has been automatically generated by
**
-** $Header: /repository/php-src/ext/sqlite3/libsqlite/sqlite3.c,v 1.1.2.2
2008/07/31 00:46:45 scottmac Exp $
+** $Header: /repository/php-src/ext/sqlite3/libsqlite/sqlite3.c,v 1.1.2.3
2008/08/03 12:15:47 jani Exp $
**
** The code in this file implements a function that determines whether
** or not a given identifier is really an SQL keyword. The same thing
@@ -76768,7 +76768,7 @@
** separating it out, the code will be automatically omitted from
** static links that do not use it.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
#ifndef SQLITE_OMIT_COMPLETE
@@ -77039,7 +77039,7 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
-** $Id: sqlite3.c,v 1.1.2.2 2008/07/31 00:46:45 scottmac Exp $
+** $Id: sqlite3.c,v 1.1.2.3 2008/08/03 12:15:47 jani Exp $
*/
#ifdef SQLITE_ENABLE_FTS3
/************** Include fts3.h in the middle of main.c ***********************/
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/basic_functions.c?r1=1.725.2.31.2.64.2.44&r2=1.725.2.31.2.64.2.45&diff_format=u
Index: php-src/ext/standard/basic_functions.c
diff -u php-src/ext/standard/basic_functions.c:1.725.2.31.2.64.2.44
php-src/ext/standard/basic_functions.c:1.725.2.31.2.64.2.45
--- php-src/ext/standard/basic_functions.c:1.725.2.31.2.64.2.44 Sat Aug 2
04:46:07 2008
+++ php-src/ext/standard/basic_functions.c Sun Aug 3 12:15:55 2008
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.725.2.31.2.64.2.44 2008/08/02 04:46:07 felipe
Exp $ */
+/* $Id: basic_functions.c,v 1.725.2.31.2.64.2.45 2008/08/03 12:15:55 jani Exp
$ */
#include "php.h"
#include "php_streams.h"
@@ -2972,7 +2972,8 @@
ZEND_ARG_INFO(0, more_entropy)
ZEND_END_ARG_INFO()
#endif
-/* }}} *//* {{{ url.c */
+/* }}} */
+/* {{{ url.c */
static
ZEND_BEGIN_ARG_INFO_EX(arginfo_parse_url, 0, 0, 1)
ZEND_ARG_INFO(0, url)
http://cvs.php.net/viewvc.cgi/php-src/ext/xmlrpc/libxmlrpc/xml_to_soap.c?r1=1.4.4.1.2.2&r2=1.4.4.1.2.2.2.1&diff_format=u
Index: php-src/ext/xmlrpc/libxmlrpc/xml_to_soap.c
diff -u php-src/ext/xmlrpc/libxmlrpc/xml_to_soap.c:1.4.4.1.2.2
php-src/ext/xmlrpc/libxmlrpc/xml_to_soap.c:1.4.4.1.2.2.2.1
--- php-src/ext/xmlrpc/libxmlrpc/xml_to_soap.c:1.4.4.1.2.2 Sun Mar 4
18:24:49 2007
+++ php-src/ext/xmlrpc/libxmlrpc/xml_to_soap.c Sun Aug 3 12:15:55 2008
@@ -379,7 +379,7 @@
else if (!strcmp(type, TOKEN_ARRAY) || arrayType !=
NULL) {
/* determine magic associated with soap array
type.
this is passed down as we recurse, so our
children have access to the info. */
- ai = parse_array_type_info(arrayType); //
alloc'ed ai free'd below.
+ ai = parse_array_type_info(arrayType); /*
alloc'ed ai free'd below. */
XMLRPC_SetIsVector(xCurrent,
xmlrpc_vector_array);
}
else {
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/lib/zip_close.c?r1=1.1.2.6.2.2&r2=1.1.2.6.2.3&diff_format=u
Index: php-src/ext/zip/lib/zip_close.c
diff -u php-src/ext/zip/lib/zip_close.c:1.1.2.6.2.2
php-src/ext/zip/lib/zip_close.c:1.1.2.6.2.3
--- php-src/ext/zip/lib/zip_close.c:1.1.2.6.2.2 Wed May 21 09:27:41 2008
+++ php-src/ext/zip/lib/zip_close.c Sun Aug 3 12:15:55 2008
@@ -147,7 +147,7 @@
de.crc = za->cdir->entry[i].crc;
de.comp_size = za->cdir->entry[i].comp_size;
de.uncomp_size = za->cdir->entry[i].uncomp_size;
- //de.bitflags &= ~ZIP_GPBF_DATA_DESCRIPTOR;
+ /* de.bitflags &= ~ZIP_GPBF_DATA_DESCRIPTOR; */
}
memcpy(cd->entry+j, za->cdir->entry+i, sizeof(cd->entry[j]));
}
http://cvs.php.net/viewvc.cgi/php-src/sapi/apache2filter/sapi_apache2.c?r1=1.136.2.2.2.8.2.3&r2=1.136.2.2.2.8.2.4&diff_format=u
Index: php-src/sapi/apache2filter/sapi_apache2.c
diff -u php-src/sapi/apache2filter/sapi_apache2.c:1.136.2.2.2.8.2.3
php-src/sapi/apache2filter/sapi_apache2.c:1.136.2.2.2.8.2.4
--- php-src/sapi/apache2filter/sapi_apache2.c:1.136.2.2.2.8.2.3 Fri Jul 18
13:08:08 2008
+++ php-src/sapi/apache2filter/sapi_apache2.c Sun Aug 3 12:15:55 2008
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sapi_apache2.c,v 1.136.2.2.2.8.2.3 2008/07/18 13:08:08 scottmac Exp $
*/
+/* $Id: sapi_apache2.c,v 1.136.2.2.2.8.2.4 2008/08/03 12:15:55 jani Exp $ */
#include <fcntl.h>
@@ -471,13 +471,13 @@
}
if(ap_save_brigade(NULL, &pbb->bb, &bb, f->r->pool) != APR_SUCCESS) {
- // Bad
+ /* Bad */
}
apr_brigade_cleanup(bb);
- // Check to see if the last bucket in this brigade, it not
- // we have to wait until then.
+ /* Check to see if the last bucket in this brigade, it not
+ * we have to wait until then. */
if(!APR_BUCKET_IS_EOS(APR_BRIGADE_LAST(pbb->bb))) {
return 0;
}
@@ -514,8 +514,8 @@
apply_config(conf);
php_apache_request_ctor(f, ctx TSRMLS_CC);
- // It'd be nice if we could highlight based of a zend_file_handle
here....
- // ...but we can't.
+ /* It'd be nice if we could highlight based of a zend_file_handle
here....
+ * ...but we can't. */
zfd.type = ZEND_HANDLE_STREAM;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php