]> mj.ucw.cz Git - libucw.git/blobdiff - lib/finger.c
I decided to turn off cf/url-equiv for indexation. however, after the indexer
[libucw.git] / lib / finger.c
index 6420534984dd706bd3a91ab4cd6d09a77a42a918..b2e0460a87f96c0c5a18859f3aacbce757bda5ba 100644 (file)
@@ -1,7 +1,10 @@
 /*
  *     Sherlock Library -- String Fingerprints
  *
 /*
  *     Sherlock Library -- String Fingerprints
  *
- *     (c) 2001 Martin Mares <mj@ucw.cz>
+ *     (c) 2001--2003 Martin Mares <mj@ucw.cz>
+ *
+ *     This software may be freely distributed and used according to the terms
+ *     of the GNU Lesser General Public License.
  */
 
 /*
  */
 
 /*
@@ -15,7 +18,7 @@
  *  of our bit string universe (2^96) and c is a small constant.
  *  We set m sufficiently large and expect no collisions
  *  to occur. On the other hand, the worst thing which could
  *  of our bit string universe (2^96) and c is a small constant.
  *  We set m sufficiently large and expect no collisions
  *  to occur. On the other hand, the worst thing which could
- *  be cause by a collision is mixing up two strings or labels
+ *  be caused by a collision is mixing up two strings or labels
  *  of two documents which is relatively harmless.
  */
 
  *  of two documents which is relatively harmless.
  */
 
@@ -23,6 +26,8 @@
 #include "lib/index.h"
 #include "lib/md5.h"
 
 #include "lib/index.h"
 #include "lib/md5.h"
 
+#include <string.h>
+
 void
 fingerprint(byte *string, struct fingerprint *fp)
 {
 void
 fingerprint(byte *string, struct fingerprint *fp)
 {