diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-07-03 02:52:16 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2018-07-25 00:53:25 +0200 |
commit | 8d3f8ca12a0b00f2a74a27424790222536235502 (patch) | |
tree | f35ddbdb8b5bc9259712d0275cb461ab7de9b7b9 /ext/hash | |
parent | dcd6a6ff367a91f8c03303a4dc2e3c8b17d692ed (diff) | |
download | php-git-8d3f8ca12a0b00f2a74a27424790222536235502.tar.gz |
Remove unused Git attributes ident
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.
In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.
This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
Diffstat (limited to 'ext/hash')
34 files changed, 1 insertions, 64 deletions
diff --git a/ext/hash/bench.php b/ext/hash/bench.php index a433af0178..eb94cd07f7 100644 --- a/ext/hash/bench.php +++ b/ext/hash/bench.php @@ -1,5 +1,4 @@ <?php -/* $Id$ */ /* This gives rather interesting results :) diff --git a/ext/hash/config.m4 b/ext/hash/config.m4 index 932e6d6f22..070a78102a 100644 --- a/ext/hash/config.m4 +++ b/ext/hash/config.m4 @@ -1,4 +1,3 @@ -dnl $Id$ dnl config.m4 for extension hash PHP_ARG_WITH(mhash, for mhash support, diff --git a/ext/hash/config.w32 b/ext/hash/config.w32 index 6f04fd6bf0..545c8673ff 100644 --- a/ext/hash/config.w32 +++ b/ext/hash/config.w32 @@ -1,4 +1,3 @@ -// $Id$ // vim:ft=javascript ARG_ENABLE("hash", "enable hash support", "yes"); diff --git a/ext/hash/hash.c b/ext/hash/hash.c index 2d6192f6c6..6bd52e2596 100644 --- a/ext/hash/hash.c +++ b/ext/hash/hash.c @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #ifdef HAVE_CONFIG_H #include "config.h" #endif diff --git a/ext/hash/hash_adler32.c b/ext/hash/hash_adler32.c index 37e70e3feb..0a08df8e7b 100644 --- a/ext/hash/hash_adler32.c +++ b/ext/hash/hash_adler32.c @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #include "php_hash.h" #include "php_hash_adler32.h" diff --git a/ext/hash/hash_crc32.c b/ext/hash/hash_crc32.c index 2e6f040b8c..aafc23fc81 100644 --- a/ext/hash/hash_crc32.c +++ b/ext/hash/hash_crc32.c @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #include "php_hash.h" #include "php_hash_crc32.h" #include "php_hash_crc32_tables.h" diff --git a/ext/hash/hash_fnv.c b/ext/hash/hash_fnv.c index 72ef2ee8ca..aa6e9549aa 100644 --- a/ext/hash/hash_fnv.c +++ b/ext/hash/hash_fnv.c @@ -16,8 +16,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - /* Based on the public domain algorithm found at http://www.isthe.com/chongo/tech/comp/fnv/index.html */ diff --git a/ext/hash/hash_gost.c b/ext/hash/hash_gost.c index 1d302fa789..e18de57d9d 100644 --- a/ext/hash/hash_gost.c +++ b/ext/hash/hash_gost.c @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #include "php_hash.h" #include "php_hash_gost.h" #include "php_hash_gost_tables.h" diff --git a/ext/hash/hash_haval.c b/ext/hash/hash_haval.c index bee2b437c3..be24f54f99 100644 --- a/ext/hash/hash_haval.c +++ b/ext/hash/hash_haval.c @@ -16,8 +16,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #include "php_hash.h" #include "php_hash_haval.h" diff --git a/ext/hash/hash_joaat.c b/ext/hash/hash_joaat.c index eae9798504..bd38fe993c 100644 --- a/ext/hash/hash_joaat.c +++ b/ext/hash/hash_joaat.c @@ -16,8 +16,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - /* Implements Jenkins's one-at-a-time hashing algorithm as presented on * http://www.burtleburtle.net/bob/hash/doobs.html. */ diff --git a/ext/hash/hash_md.c b/ext/hash/hash_md.c index f5166be42d..3cbd00a215 100644 --- a/ext/hash/hash_md.c +++ b/ext/hash/hash_md.c @@ -16,8 +16,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #include "php_hash.h" #include "php_hash_md.h" diff --git a/ext/hash/hash_ripemd.c b/ext/hash/hash_ripemd.c index 8e9971ab03..03aff00676 100644 --- a/ext/hash/hash_ripemd.c +++ b/ext/hash/hash_ripemd.c @@ -16,8 +16,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - /* Heavily borrowed from md5.c & sha1.c of PHP archival fame Note that ripemd laughs in the face of logic and uses little endian byte ordering */ diff --git a/ext/hash/hash_sha.c b/ext/hash/hash_sha.c index 368176ea95..4758c2fa38 100644 --- a/ext/hash/hash_sha.c +++ b/ext/hash/hash_sha.c @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #include "php_hash.h" #include "php_hash_sha.h" diff --git a/ext/hash/hash_snefru.c b/ext/hash/hash_snefru.c index 2ba1375e3d..bab15c505a 100644 --- a/ext/hash/hash_snefru.c +++ b/ext/hash/hash_snefru.c @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #include "php_hash.h" #include "php_hash_snefru.h" #include "php_hash_snefru_tables.h" diff --git a/ext/hash/hash_tiger.c b/ext/hash/hash_tiger.c index 9267b02ef7..720045f821 100644 --- a/ext/hash/hash_tiger.c +++ b/ext/hash/hash_tiger.c @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #include "php_hash.h" #include "php_hash_tiger.h" #include "php_hash_tiger_tables.h" diff --git a/ext/hash/hash_whirlpool.c b/ext/hash/hash_whirlpool.c index 2f6ff7e70a..f8303bd418 100644 --- a/ext/hash/hash_whirlpool.c +++ b/ext/hash/hash_whirlpool.c @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #include "php_hash.h" /* diff --git a/ext/hash/php_hash.h b/ext/hash/php_hash.h index 2be80c9a43..cba2967a0a 100644 --- a/ext/hash/php_hash.h +++ b/ext/hash/php_hash.h @@ -16,8 +16,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #ifndef PHP_HASH_H #define PHP_HASH_H diff --git a/ext/hash/php_hash_adler32.h b/ext/hash/php_hash_adler32.h index 4a53e21f66..f3192cfa2e 100644 --- a/ext/hash/php_hash_adler32.h +++ b/ext/hash/php_hash_adler32.h @@ -16,8 +16,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #ifndef PHP_HASH_ADLER32_H #define PHP_HASH_ADLER32_H diff --git a/ext/hash/php_hash_crc32.h b/ext/hash/php_hash_crc32.h index 2a5b60830d..c4d396c30d 100644 --- a/ext/hash/php_hash_crc32.h +++ b/ext/hash/php_hash_crc32.h @@ -16,8 +16,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #ifndef PHP_HASH_CRC32_H #define PHP_HASH_CRC32_H diff --git a/ext/hash/php_hash_crc32_tables.h b/ext/hash/php_hash_crc32_tables.h index 5ae14371ec..e226a3edfb 100644 --- a/ext/hash/php_hash_crc32_tables.h +++ b/ext/hash/php_hash_crc32_tables.h @@ -16,8 +16,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - static const uint32_t crc32_table[] = { 0x0, 0x04c11db7, 0x09823b6e, 0x0d4326d9, 0x130476dc, 0x17c56b6b, 0x1a864db2, 0x1e475005, 0x2608edb8, 0x22c9f00f, 0x2f8ad6d6, diff --git a/ext/hash/php_hash_fnv.h b/ext/hash/php_hash_fnv.h index ca030e79bd..8166c7b481 100644 --- a/ext/hash/php_hash_fnv.h +++ b/ext/hash/php_hash_fnv.h @@ -16,8 +16,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #ifndef PHP_HASH_FNV_H #define PHP_HASH_FNV_H diff --git a/ext/hash/php_hash_gost.h b/ext/hash/php_hash_gost.h index 80c703760b..53679537e5 100644 --- a/ext/hash/php_hash_gost.h +++ b/ext/hash/php_hash_gost.h @@ -16,8 +16,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #ifndef PHP_HASH_GOST_H #define PHP_HASH_GOST_H diff --git a/ext/hash/php_hash_haval.h b/ext/hash/php_hash_haval.h index ef9f4907e1..263abbd8d9 100644 --- a/ext/hash/php_hash_haval.h +++ b/ext/hash/php_hash_haval.h @@ -16,8 +16,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #ifndef PHP_HASH_HAVAL_H #define PHP_HASH_HAVAL_H diff --git a/ext/hash/php_hash_joaat.h b/ext/hash/php_hash_joaat.h index d0e31298ca..5232bf5555 100644 --- a/ext/hash/php_hash_joaat.h +++ b/ext/hash/php_hash_joaat.h @@ -16,8 +16,6 @@ +----------------------------------------------------------------------+ */ -/* $Id*/ - #ifndef PHP_HASH_JOAAT_H #define PHP_HASH_JOAAT_H diff --git a/ext/hash/php_hash_md.h b/ext/hash/php_hash_md.h index 7d502e03fb..819f507ab6 100644 --- a/ext/hash/php_hash_md.h +++ b/ext/hash/php_hash_md.h @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #ifndef PHP_HASH_MD_H #define PHP_HASH_MD_H diff --git a/ext/hash/php_hash_ripemd.h b/ext/hash/php_hash_ripemd.h index 463e8dc596..4747d68ea8 100644 --- a/ext/hash/php_hash_ripemd.h +++ b/ext/hash/php_hash_ripemd.h @@ -16,8 +16,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #ifndef PHP_HASH_RIPEMD_H #define PHP_HASH_RIPEMD_H #include "ext/standard/basic_functions.h" diff --git a/ext/hash/php_hash_sha.h b/ext/hash/php_hash_sha.h index e973a2798f..9844ddeb7d 100644 --- a/ext/hash/php_hash_sha.h +++ b/ext/hash/php_hash_sha.h @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #ifndef PHP_HASH_SHA_H #define PHP_HASH_SHA_H diff --git a/ext/hash/php_hash_snefru.h b/ext/hash/php_hash_snefru.h index a73e157490..e15b36139b 100644 --- a/ext/hash/php_hash_snefru.h +++ b/ext/hash/php_hash_snefru.h @@ -16,8 +16,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #ifndef PHP_HASH_SNEFRU_H #define PHP_HASH_SNEFRU_H diff --git a/ext/hash/php_hash_snefru_tables.h b/ext/hash/php_hash_snefru_tables.h index 023adb0040..a0b661ddca 100644 --- a/ext/hash/php_hash_snefru_tables.h +++ b/ext/hash/php_hash_snefru_tables.h @@ -16,8 +16,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - static const uint32_t tables[16][256]= { { /* Start of S Box 0 */ diff --git a/ext/hash/php_hash_tiger.h b/ext/hash/php_hash_tiger.h index 8ca514b66a..ca60dd4eae 100644 --- a/ext/hash/php_hash_tiger.h +++ b/ext/hash/php_hash_tiger.h @@ -16,8 +16,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #ifndef PHP_HASH_TIGER_H #define PHP_HASH_TIGER_H diff --git a/ext/hash/php_hash_tiger_tables.h b/ext/hash/php_hash_tiger_tables.h index afb4ccf2e0..4e1933ce42 100644 --- a/ext/hash/php_hash_tiger_tables.h +++ b/ext/hash/php_hash_tiger_tables.h @@ -17,8 +17,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #define t1 (table) #define t2 (table+256) #define t3 (table+256*2) diff --git a/ext/hash/php_hash_whirlpool.h b/ext/hash/php_hash_whirlpool.h index 86d03e8886..1ad4bf25dc 100644 --- a/ext/hash/php_hash_whirlpool.h +++ b/ext/hash/php_hash_whirlpool.h @@ -16,8 +16,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #ifndef PHP_HASH_WHIRLPOOL_H #define PHP_HASH_WHIRLPOOL_H diff --git a/ext/hash/php_hash_whirlpool_tables.h b/ext/hash/php_hash_whirlpool_tables.h index 009b5bede9..91c3cd8431 100644 --- a/ext/hash/php_hash_whirlpool_tables.h +++ b/ext/hash/php_hash_whirlpool_tables.h @@ -16,8 +16,6 @@ +----------------------------------------------------------------------+ */ -/* $Id$ */ - #ifndef PHP_HASH_WHIRLPOOL_TABLES_H #define PHP_HASH_WHIRLPOOL_TABLES_H diff --git a/ext/hash/tests/bug73127.phpt b/ext/hash/tests/bug73127.phpt index a0d5dec49f..78113de7ec 100644 --- a/ext/hash/tests/bug73127.phpt +++ b/ext/hash/tests/bug73127.phpt @@ -3,7 +3,7 @@ Bug #73127 (gost-crypto hash incorrect if input data contains long 0xFF sequence --SKIPIF-- <?php if(!extension_loaded('hash')) die('skip hash extension not loaded'); ?> --FILE-- -<?php // $Id$ +<?php $test1 = str_repeat("\xFF", 40); $test2 = str_repeat("\x00", 40); |