From 25e4f8ab5acd0ef40feec6767a572bebbbe294b3 Mon Sep 17 00:00:00 2001 From: sthen Date: Fri, 23 Sep 2016 09:21:58 +0000 Subject: remove lib/libsqlite3, it has moved back to ports --- lib/libsqlite3/tool/pagesig.c | 92 ------------------------------------------- 1 file changed, 92 deletions(-) delete mode 100644 lib/libsqlite3/tool/pagesig.c (limited to 'lib/libsqlite3/tool/pagesig.c') diff --git a/lib/libsqlite3/tool/pagesig.c b/lib/libsqlite3/tool/pagesig.c deleted file mode 100644 index 540c9d72266..00000000000 --- a/lib/libsqlite3/tool/pagesig.c +++ /dev/null @@ -1,92 +0,0 @@ -/* -** 2013-10-01 -** -** The author disclaims copyright to this source code. In place of -** a legal notice, here is a blessing: -** -** May you do good and not evil. -** May you find forgiveness for yourself and forgive others. -** May you share freely, never taking more than you give. -** -****************************************************************************** -** -** Compute hash signatures for every page of a database file. This utility -** program is useful for analyzing the output logs generated by the -** ext/misc/vfslog.c extension. -*/ -#include -#include -#include -#include - -/* -** Compute signature for a block of content. -** -** For blocks of 16 or fewer bytes, the signature is just a hex dump of -** the entire block. -** -** For blocks of more than 16 bytes, the signature is a hex dump of the -** first 8 bytes followed by a 64-bit has of the entire block. -*/ -static void vlogSignature(unsigned char *p, int n, char *zCksum){ - unsigned int s0 = 0, s1 = 0; - unsigned int *pI; - int i; - if( n<=16 ){ - for(i=0; i