Diff for /servers/slapd/phonetic.c between versions 1.8.8.3 and 1.8.8.4

version 1.8.8.3, 2000/06/13 17:57:29 version 1.8.8.4, 2000/07/29 01:53:13
Line 1 Line 1
 /* phonetic.c - routines to do phonetic matching */  /* phonetic.c - routines to do phonetic matching */
 /* $OpenLDAP: pkg/ldap/servers/slapd/phonetic.c,v 1.11 2000/05/13 00:47:57 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/phonetic.c,v 1.8.8.3 2000/06/13 17:57:29 kurt Exp $ */
 /*  /*
  * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 16 Line 16
   
 #include "slap.h"  #include "slap.h"
   
 #if !defined(METAPHONE) && !defined(SLAPD_PHONETIC)  #if !defined(SLAPD_METAPHONE) && !defined(SLAPD_PHONETIC)
 #define METAPHONE  #define SLAPD_METAPHONE
 #endif  #endif
   
 #define iswordbreak(x)  (!isascii(x) || isspace((unsigned char) (x)) || \  #define iswordbreak(x)  (!isascii(x) || isspace((unsigned char) (x)) || \
Line 162  phonetic( char *s ) Line 162  phonetic( char *s )
 }  }
   
 #else  #else
 #if defined(METAPHONE)  #if defined(SLAPD_METAPHONE)
   
 /*  /*
  * Metaphone copied from C Gazette, June/July 1991, pp 56-57,   * Metaphone copied from C Gazette, June/July 1991, pp 56-57,

Removed from v.1.8.8.3  
changed lines
  Added in v.1.8.8.4


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org