Skip to content

Commit

Permalink
Merge branch 'PHP-5.3' into PHP-5.4
Browse files Browse the repository at this point in the history
* PHP-5.3:
  Replace $Revision$ with $Id$ in keyword expansion enable files
  Enable $Id$ expansion for files with the $Revision$ keyword

Conflicts:
	ext/mysqlnd/mysqlnd.h
  • Loading branch information
dsp committed Mar 20, 2012
2 parents 71d894c + f7b10ab commit c918ca5
Show file tree
Hide file tree
Showing 24 changed files with 47 additions and 24 deletions.
23 changes: 23 additions & 0 deletions .gitattributes
@@ -0,0 +1,23 @@
ext/mysqlnd/mysqlnd.h ident
ext/simplexml/simplexml.c ident
ext/iconv/php_iconv.h ident
ext/posix/posix.c ident
ext/recode/recode.c ident
ext/skeleton/create_stubs ident
ext/phar/phar/pharcommand.inc ident
ext/phar/phar.c ident
ext/sysvmsg/sysvmsg.c ident
ext/enchant/enchant.c ident
ext/reflection/php_reflection.c ident
ext/oci8/oci8.c ident
ext/dba/libinifile/inifile.c ident
ext/dba/libflatfile/flatfile.c ident
ext/dba/libcdb/cdb_make.c ident
ext/dba/libcdb/cdb.c ident
ext/filter/filter.c ident
README.input_filter ident
run-tests.php ident
sapi/nsapi/nsapi.c ident
sapi/continuity/capi.c ident
Zend/RFCs/002.txt ident
Zend/RFCs/003.txt ident
2 changes: 1 addition & 1 deletion README.input_filter
Expand Up @@ -86,7 +86,7 @@ PHP_MINFO_FUNCTION(my_input_filter)
{
php_info_print_table_start();
php_info_print_table_row( 2, "My Input Filter Support", "enabled" );
php_info_print_table_row( 2, "Revision", "$Revision$");
php_info_print_table_row( 2, "Revision", "$Id$");
php_info_print_table_end();
}

Expand Down
2 changes: 1 addition & 1 deletion Zend/RFCs/002.txt
@@ -1,5 +1,5 @@
Title: Zend 2.0 Namespaces
Version: $Revision$
Version: $Id$
Status: declined
Maintainer: Stig S. Bakken <ssb@php.net>
Created: 2001-09-08
Expand Down
2 changes: 1 addition & 1 deletion Zend/RFCs/003.txt
@@ -1,5 +1,5 @@
Title: Loose type requirements for functions
Version: $Revision$
Version: $Id$
Status: draft
Maintainer: Brian Moon <brianm@dealnews.com>
Created: 2001-09-17
Expand Down
2 changes: 1 addition & 1 deletion ext/dba/libcdb/cdb.c
Expand Up @@ -189,6 +189,6 @@ int cdb_find(struct cdb *c, char *key, unsigned int len TSRMLS_DC)
/* {{{ cdb_version */
char *cdb_version()
{
return "0.75, $Revision$";
return "0.75, $Id$";
}
/* }}} */
2 changes: 1 addition & 1 deletion ext/dba/libcdb/cdb_make.c
Expand Up @@ -240,5 +240,5 @@ int cdb_make_finish(struct cdb_make *c TSRMLS_DC)
/* {{{ cdb_make_version */
char *cdb_make_version()
{
return "0.75, $Revision$";
return "0.75, $Id$";
}
2 changes: 1 addition & 1 deletion ext/dba/libflatfile/flatfile.c
Expand Up @@ -306,7 +306,7 @@ datum flatfile_nextkey(flatfile *dba TSRMLS_DC) {
/* {{{ flatfile_version */
char *flatfile_version()
{
return "1.0, $Revision$";
return "1.0, $Id$";
}
/* }}} */

Expand Down
2 changes: 1 addition & 1 deletion ext/dba/libinifile/inifile.c
Expand Up @@ -42,7 +42,7 @@
/* {{{ inifile_version */
char *inifile_version()
{
return "1.0, $Revision$";
return "1.0, $Id$";
}
/* }}} */

Expand Down
2 changes: 1 addition & 1 deletion ext/enchant/enchant.c
Expand Up @@ -326,7 +326,7 @@ PHP_MINFO_FUNCTION(enchant)
#elif defined(HAVE_ENCHANT_BROKER_SET_PARAM)
php_info_print_table_row(2, "Libenchant Version", "1.5.0 or later");
#endif
php_info_print_table_row(2, "Revision", "$Revision$");
php_info_print_table_row(2, "Revision", "$Id$");
php_info_print_table_end();

php_info_print_table_start();
Expand Down
2 changes: 1 addition & 1 deletion ext/filter/filter.c
Expand Up @@ -318,7 +318,7 @@ PHP_MINFO_FUNCTION(filter)
{
php_info_print_table_start();
php_info_print_table_row( 2, "Input Validation and Filtering", "enabled" );
php_info_print_table_row( 2, "Revision", "$Revision$");
php_info_print_table_row( 2, "Revision", "$Id$");
php_info_print_table_end();

DISPLAY_INI_ENTRIES();
Expand Down
2 changes: 1 addition & 1 deletion ext/iconv/php_iconv.h
Expand Up @@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/

/* $Revision$ */
/* $Id$ */

#ifndef PHP_ICONV_H
#define PHP_ICONV_H
Expand Down
2 changes: 1 addition & 1 deletion ext/mysqlnd/mysqlnd.h
Expand Up @@ -22,7 +22,7 @@
#ifndef MYSQLND_H
#define MYSQLND_H

#define MYSQLND_VERSION "mysqlnd 5.0.10 - 20111026 - $Revision$"
#define MYSQLND_VERSION "mysqlnd 5.0.10 - 20111026 - $Id$"
#define MYSQLND_VERSION_ID 50010

#define MYSQLND_PLUGIN_API_VERSION 1
Expand Down
2 changes: 1 addition & 1 deletion ext/oci8/oci8.c
Expand Up @@ -1341,7 +1341,7 @@ PHP_MINFO_FUNCTION(oci)
php_info_print_table_start();
php_info_print_table_row(2, "OCI8 Support", "enabled");
php_info_print_table_row(2, "Version", PHP_OCI8_VERSION);
php_info_print_table_row(2, "Revision", "$Revision$");
php_info_print_table_row(2, "Revision", "$Id$");

snprintf(buf, sizeof(buf), "%ld", OCI_G(num_persistent));
php_info_print_table_row(2, "Active Persistent Connections", buf);
Expand Down
2 changes: 1 addition & 1 deletion ext/phar/phar.c
Expand Up @@ -3667,7 +3667,7 @@ PHP_MINFO_FUNCTION(phar) /* {{{ */
php_info_print_table_header(2, "Phar: PHP Archive support", "enabled");
php_info_print_table_row(2, "Phar EXT version", PHP_PHAR_VERSION);
php_info_print_table_row(2, "Phar API version", PHP_PHAR_API_VERSION);
php_info_print_table_row(2, "SVN revision", "$Revision$");
php_info_print_table_row(2, "SVN revision", "$Id$");
php_info_print_table_row(2, "Phar-based phar archives", "enabled");
php_info_print_table_row(2, "Tar-based phar archives", "enabled");
php_info_print_table_row(2, "ZIP-based phar archives", "enabled");
Expand Down
2 changes: 1 addition & 1 deletion ext/phar/phar/pharcommand.inc
Expand Up @@ -1566,7 +1566,7 @@ class PharCommand extends CLICommand
$use_ext = extension_loaded('phar');
$version = array(
'PHP Version' => phpversion(),
'phar.phar version' => '$Revision$',
'phar.phar version' => '$Id$',
'Phar EXT version' => $use_ext ? phpversion('phar') : 'Not available',
'Phar API version' => Phar::apiVersion(),
'Phar-based phar archives' => true,
Expand Down
2 changes: 1 addition & 1 deletion ext/posix/posix.c
Expand Up @@ -310,7 +310,7 @@ const zend_function_entry posix_functions[] = {
static PHP_MINFO_FUNCTION(posix)
{
php_info_print_table_start();
php_info_print_table_row(2, "Revision", "$Revision$");
php_info_print_table_row(2, "Revision", "$Id$");
php_info_print_table_end();
}
/* }}} */
Expand Down
2 changes: 1 addition & 1 deletion ext/recode/recode.c
Expand Up @@ -135,7 +135,7 @@ PHP_MINFO_FUNCTION(recode)
{
php_info_print_table_start();
php_info_print_table_row(2, "Recode Support", "enabled");
php_info_print_table_row(2, "Revision", "$Revision$");
php_info_print_table_row(2, "Revision", "$Id$");
php_info_print_table_end();
}

Expand Down
4 changes: 2 additions & 2 deletions ext/reflection/php_reflection.c
Expand Up @@ -6072,7 +6072,7 @@ PHP_MINFO_FUNCTION(reflection) /* {{{ */
php_info_print_table_start();
php_info_print_table_header(2, "Reflection", "enabled");

php_info_print_table_row(2, "Version", "$Revision$");
php_info_print_table_row(2, "Version", "$Id$");

php_info_print_table_end();
} /* }}} */
Expand All @@ -6086,7 +6086,7 @@ zend_module_entry reflection_module_entry = { /* {{{ */
NULL,
NULL,
PHP_MINFO(reflection),
"$Revision$",
"$Id$",
STANDARD_MODULE_PROPERTIES
}; /* }}} */

Expand Down
2 changes: 1 addition & 1 deletion ext/simplexml/simplexml.c
Expand Up @@ -2638,7 +2638,7 @@ PHP_MINFO_FUNCTION(simplexml)
{
php_info_print_table_start();
php_info_print_table_header(2, "Simplexml support", "enabled");
php_info_print_table_row(2, "Revision", "$Revision$");
php_info_print_table_row(2, "Revision", "$Id$");
php_info_print_table_row(2, "Schema support",
#ifdef LIBXML_SCHEMAS_ENABLED
"enabled");
Expand Down
2 changes: 1 addition & 1 deletion ext/skeleton/create_stubs
Expand Up @@ -67,7 +67,7 @@ BEGIN {


xmlhead = "<?xml version='1.0' encoding='iso-8859-1'?>\n" \
"<!-- $Revision$ -->\n" \
"<!-- $Id$ -->\n" \
" <reference id=\"ref." extname "\">\n" \
" <title> functions</title>\n" \
" <titleabbrev></titleabbrev>\n\n" \
Expand Down
2 changes: 1 addition & 1 deletion ext/sysvmsg/sysvmsg.c
Expand Up @@ -145,7 +145,7 @@ PHP_MINFO_FUNCTION(sysvmsg)
{
php_info_print_table_start();
php_info_print_table_row(2, "sysvmsg support", "enabled");
php_info_print_table_row(2, "Revision", "$Revision$");
php_info_print_table_row(2, "Revision", "$Id$");
php_info_print_table_end();
}
/* }}} */
Expand Down
2 changes: 1 addition & 1 deletion run-tests.php
Expand Up @@ -666,7 +666,7 @@ function save_or_mail_results()
$html_output = is_resource($html_file);
break;
case '--version':
echo '$Revision$' . "\n";
echo '$Id$' . "\n";
exit(1);

default:
Expand Down
2 changes: 1 addition & 1 deletion sapi/continuity/capi.c
Expand Up @@ -110,7 +110,7 @@ PHP_MSHUTDOWN_FUNCTION(continuity)
PHP_MINFO_FUNCTION(continuity)
{
php_info_print_table_start();
php_info_print_table_row(2, "Continuity Module Revision", "$Revision$");
php_info_print_table_row(2, "Continuity Module Revision", "$Id$");
php_info_print_table_row(2, "Server Version", conFget_build());
#ifdef CONTINUITY_CDPEXT
php_info_print_table_row(2,"CDP Extensions", "enabled");
Expand Down
2 changes: 1 addition & 1 deletion sapi/nsapi/nsapi.c
Expand Up @@ -312,7 +312,7 @@ PHP_MSHUTDOWN_FUNCTION(nsapi)
PHP_MINFO_FUNCTION(nsapi)
{
php_info_print_table_start();
php_info_print_table_row(2, "NSAPI Module Revision", "$Revision$");
php_info_print_table_row(2, "NSAPI Module Revision", "$Id$");
php_info_print_table_row(2, "Server Software", system_version());
php_info_print_table_row(2, "Sub-requests with nsapi_virtual()",
(nsapi_servact_service)?((zend_ini_long("zlib.output_compression", sizeof("zlib.output_compression"), 0))?"not supported with zlib.output_compression":"enabled"):"not supported on this platform" );
Expand Down

0 comments on commit c918ca5

Please sign in to comment.