From 9c3ed0310bc6de304f58f74daf967e6d405a19a5 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 6 Aug 1999 23:07:46 +0000 Subject: [PATCH] Add copyright notices. --- servers/slapd/abandon.c | 4 ++++ servers/slapd/acl.c | 4 ++++ servers/slapd/aclparse.c | 4 ++++ servers/slapd/add.c | 4 ++++ servers/slapd/attr.c | 4 ++++ servers/slapd/ava.c | 4 ++++ servers/slapd/back-ldbm/abandon.c | 4 ++++ servers/slapd/back-ldbm/add.c | 4 ++++ servers/slapd/back-ldbm/attr.c | 4 ++++ servers/slapd/back-ldbm/back-ldbm.h | 2 +- servers/slapd/back-ldbm/bind.c | 4 ++++ servers/slapd/back-ldbm/cache.c | 4 ++++ servers/slapd/back-ldbm/close.c | 4 ++++ servers/slapd/back-ldbm/compare.c | 4 ++++ servers/slapd/back-ldbm/config.c | 4 ++++ servers/slapd/back-ldbm/dbcache.c | 4 ++++ servers/slapd/back-ldbm/delete.c | 4 ++++ servers/slapd/back-ldbm/dn2id.c | 4 ++++ servers/slapd/back-ldbm/entry.c | 4 ++++ servers/slapd/back-ldbm/external.h | 1 + servers/slapd/back-ldbm/filterindex.c | 4 ++++ servers/slapd/back-ldbm/group.c | 4 ++++ servers/slapd/back-ldbm/id2children.c | 4 ++++ servers/slapd/back-ldbm/id2entry.c | 4 ++++ servers/slapd/back-ldbm/idl.c | 12 +++++++++++- servers/slapd/back-ldbm/index.c | 4 ++++ servers/slapd/back-ldbm/init.c | 4 ++++ servers/slapd/back-ldbm/kerberos.c | 4 ++++ servers/slapd/back-ldbm/modify.c | 4 ++++ servers/slapd/back-ldbm/modrdn.c | 4 ++++ servers/slapd/back-ldbm/nextid.c | 4 ++++ servers/slapd/back-ldbm/proto-back-ldbm.h | 1 + servers/slapd/back-ldbm/search.c | 4 ++++ servers/slapd/back-ldbm/startup.c | 4 ++++ servers/slapd/back-ldbm/unbind.c | 4 ++++ servers/slapd/backend.c | 4 ++++ servers/slapd/bind.c | 4 ++++ servers/slapd/ch_malloc.c | 4 ++++ servers/slapd/charray.c | 4 ++++ servers/slapd/compare.c | 4 ++++ servers/slapd/config.c | 4 ++++ servers/slapd/configinfo.c | 4 ++++ servers/slapd/connection.c | 5 +++++ servers/slapd/daemon.c | 5 +++++ servers/slapd/delete.c | 4 ++++ servers/slapd/dn.c | 4 ++++ servers/slapd/entry.c | 4 ++++ servers/slapd/filter.c | 4 ++++ servers/slapd/filterentry.c | 4 ++++ servers/slapd/init.c | 4 ++++ servers/slapd/lock.c | 4 ++++ servers/slapd/modify.c | 4 ++++ servers/slapd/modrdn.c | 4 ++++ servers/slapd/monitor.c | 4 ++++ servers/slapd/operation.c | 4 ++++ servers/slapd/phonetic.c | 4 ++++ servers/slapd/repl.c | 4 ++++ servers/slapd/sasl.c | 5 +++++ servers/slapd/schema.c | 4 ++++ servers/slapd/schemaparse.c | 4 ++++ servers/slapd/str2filter.c | 4 ++++ servers/slapd/tools/ldif2common.c | 4 ++++ servers/slapd/tools/ldif2common.h | 4 ++++ servers/slapd/tools/ldif2ldbm.c | 1 - servers/slapd/unbind.c | 4 ++++ servers/slapd/user.c | 6 +++++- servers/slapd/value.c | 4 ++++ 67 files changed, 266 insertions(+), 4 deletions(-) diff --git a/servers/slapd/abandon.c b/servers/slapd/abandon.c index 3069ed7452..ec95e10a4e 100644 --- a/servers/slapd/abandon.c +++ b/servers/slapd/abandon.c @@ -1,4 +1,8 @@ /* abandon.c - decode and handle an ldap abandon operation */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* * Copyright (c) 1995 Regents of the University of Michigan. diff --git a/servers/slapd/acl.c b/servers/slapd/acl.c index 15bbcd4fba..76e54530c6 100644 --- a/servers/slapd/acl.c +++ b/servers/slapd/acl.c @@ -1,4 +1,8 @@ /* acl.c - routines to parse and check acl's */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/aclparse.c b/servers/slapd/aclparse.c index d12508f6b5..f31993f2d2 100644 --- a/servers/slapd/aclparse.c +++ b/servers/slapd/aclparse.c @@ -1,4 +1,8 @@ /* acl.c - routines to parse and check acl's */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/add.c b/servers/slapd/add.c index 4dd63a8c1a..981784eaf9 100644 --- a/servers/slapd/add.c +++ b/servers/slapd/add.c @@ -1,3 +1,7 @@ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* * Copyright (c) 1995 Regents of the University of Michigan. * All rights reserved. diff --git a/servers/slapd/attr.c b/servers/slapd/attr.c index 589291b943..74e5c241c5 100644 --- a/servers/slapd/attr.c +++ b/servers/slapd/attr.c @@ -1,3 +1,7 @@ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* attr.c - routines for dealing with attributes */ #include "portable.h" diff --git a/servers/slapd/ava.c b/servers/slapd/ava.c index 33a70723dd..dcb4ba8d7b 100644 --- a/servers/slapd/ava.c +++ b/servers/slapd/ava.c @@ -1,3 +1,7 @@ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* ava.c - routines for dealing with attribute value assertions */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/abandon.c b/servers/slapd/back-ldbm/abandon.c index ef7409ce62..4fe70427b5 100644 --- a/servers/slapd/back-ldbm/abandon.c +++ b/servers/slapd/back-ldbm/abandon.c @@ -1,4 +1,8 @@ /* abandon.c - ldbm backend abandon routine */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/add.c b/servers/slapd/back-ldbm/add.c index c6f85169c6..0333fe4129 100644 --- a/servers/slapd/back-ldbm/add.c +++ b/servers/slapd/back-ldbm/add.c @@ -1,4 +1,8 @@ /* add.c - ldap ldbm back-end add routine */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/attr.c b/servers/slapd/back-ldbm/attr.c index 1f79fedb65..aab4b27bde 100644 --- a/servers/slapd/back-ldbm/attr.c +++ b/servers/slapd/back-ldbm/attr.c @@ -1,4 +1,8 @@ /* attr.c - backend routines for dealing with attributes */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/back-ldbm.h b/servers/slapd/back-ldbm/back-ldbm.h index 10cf04ce57..688f055b05 100644 --- a/servers/slapd/back-ldbm/back-ldbm.h +++ b/servers/slapd/back-ldbm/back-ldbm.h @@ -1,8 +1,8 @@ +/* back-ldbm.h - ldap ldbm back-end header file */ /* * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ -/* back-ldbm.h - ldap ldbm back-end header file */ #ifndef _BACK_LDBM_H_ #define _BACK_LDBM_H_ diff --git a/servers/slapd/back-ldbm/bind.c b/servers/slapd/back-ldbm/bind.c index dad6b9e2ac..6a2efc8f0c 100644 --- a/servers/slapd/back-ldbm/bind.c +++ b/servers/slapd/back-ldbm/bind.c @@ -1,4 +1,8 @@ /* bind.c - ldbm backend bind and unbind routines */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/cache.c b/servers/slapd/back-ldbm/cache.c index a355f7142e..530e9d9acf 100644 --- a/servers/slapd/back-ldbm/cache.c +++ b/servers/slapd/back-ldbm/cache.c @@ -1,4 +1,8 @@ /* cache.c - routines to maintain an in-core cache of entries */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/close.c b/servers/slapd/back-ldbm/close.c index 9e520485d7..f5e5442aa5 100644 --- a/servers/slapd/back-ldbm/close.c +++ b/servers/slapd/back-ldbm/close.c @@ -1,4 +1,8 @@ /* close.c - close ldbm backend */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/compare.c b/servers/slapd/back-ldbm/compare.c index acc5571e5a..278a806d6f 100644 --- a/servers/slapd/back-ldbm/compare.c +++ b/servers/slapd/back-ldbm/compare.c @@ -1,4 +1,8 @@ /* compare.c - ldbm backend compare routine */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/config.c b/servers/slapd/back-ldbm/config.c index e31ef72422..c0b62d8902 100644 --- a/servers/slapd/back-ldbm/config.c +++ b/servers/slapd/back-ldbm/config.c @@ -1,4 +1,8 @@ /* config.c - ldbm backend configuration file routine */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/dbcache.c b/servers/slapd/back-ldbm/dbcache.c index 28004ac225..39d4407c1e 100644 --- a/servers/slapd/back-ldbm/dbcache.c +++ b/servers/slapd/back-ldbm/dbcache.c @@ -1,4 +1,8 @@ /* ldbmcache.c - maintain a cache of open ldbm files */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/delete.c b/servers/slapd/back-ldbm/delete.c index 53bdd22f7c..a8180b3cf1 100644 --- a/servers/slapd/back-ldbm/delete.c +++ b/servers/slapd/back-ldbm/delete.c @@ -1,4 +1,8 @@ /* delete.c - ldbm backend delete routine */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/dn2id.c b/servers/slapd/back-ldbm/dn2id.c index 405ca65b69..04d219d188 100644 --- a/servers/slapd/back-ldbm/dn2id.c +++ b/servers/slapd/back-ldbm/dn2id.c @@ -1,4 +1,8 @@ /* dn2id.c - routines to deal with the dn2id index */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/entry.c b/servers/slapd/back-ldbm/entry.c index 717cf68a13..503aab692a 100644 --- a/servers/slapd/back-ldbm/entry.c +++ b/servers/slapd/back-ldbm/entry.c @@ -1,4 +1,8 @@ /* entry.c - ldbm backend entry_release routine */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/external.h b/servers/slapd/back-ldbm/external.h index ac9ffe710a..e48f588623 100644 --- a/servers/slapd/back-ldbm/external.h +++ b/servers/slapd/back-ldbm/external.h @@ -2,6 +2,7 @@ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ + #ifndef _LDBM_EXTERNAL_H #define _LDBM_EXTERNAL_H diff --git a/servers/slapd/back-ldbm/filterindex.c b/servers/slapd/back-ldbm/filterindex.c index 65842a3463..074872e642 100644 --- a/servers/slapd/back-ldbm/filterindex.c +++ b/servers/slapd/back-ldbm/filterindex.c @@ -1,4 +1,8 @@ /* filterindex.c - generate the list of candidate entries from a filter */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/group.c b/servers/slapd/back-ldbm/group.c index c890cc49e1..252b584166 100644 --- a/servers/slapd/back-ldbm/group.c +++ b/servers/slapd/back-ldbm/group.c @@ -1,4 +1,8 @@ /* group.c - ldbm backend acl group routine */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/id2children.c b/servers/slapd/back-ldbm/id2children.c index 55b9d8d518..34eeafdf6d 100644 --- a/servers/slapd/back-ldbm/id2children.c +++ b/servers/slapd/back-ldbm/id2children.c @@ -1,4 +1,8 @@ /* id2children.c - routines to deal with the id2children index */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/id2entry.c b/servers/slapd/back-ldbm/id2entry.c index d9de7d200b..f33630e9cd 100644 --- a/servers/slapd/back-ldbm/id2entry.c +++ b/servers/slapd/back-ldbm/id2entry.c @@ -1,4 +1,8 @@ /* id2entry.c - routines to deal with the id2entry index */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/idl.c b/servers/slapd/back-ldbm/idl.c index e89e7dbf84..0afef23333 100644 --- a/servers/slapd/back-ldbm/idl.c +++ b/servers/slapd/back-ldbm/idl.c @@ -1,4 +1,8 @@ /* idl.c - ldap id list handling routines */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" @@ -220,7 +224,6 @@ idl_store( return( rc ); } - /* split the block at id * locate ID greater than or equal to id. */ @@ -645,9 +648,16 @@ idl_insert( ID_BLOCK **idl, ID id, unsigned int maxids ) } /* make a slot for the new id *//* XXX bubble move XXX */ +#define BUBBLE 1 +#ifdef BUBBLE for ( j = ID_BLOCK_NIDS(*idl); j != i; j-- ) { ID_BLOCK_ID(*idl, j) = ID_BLOCK_ID(*idl, j-1); } +#else + SAFEMEMCPY( &ID_BLOCK_ID(*idl, i), &ID_BLOCK_ID(*idl, i+1), + ID_BLOCK_NIDS(*idl) - i ); +#endif + ID_BLOCK_ID(*idl, i) = id; ID_BLOCK_NIDS(*idl)++; (void) memset( diff --git a/servers/slapd/back-ldbm/index.c b/servers/slapd/back-ldbm/index.c index 1a3a468fc2..debd1608fb 100644 --- a/servers/slapd/back-ldbm/index.c +++ b/servers/slapd/back-ldbm/index.c @@ -1,4 +1,8 @@ /* index.c - routines for dealing with attribute indexes */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/init.c b/servers/slapd/back-ldbm/init.c index 72a0482aa3..ddfa758dd6 100644 --- a/servers/slapd/back-ldbm/init.c +++ b/servers/slapd/back-ldbm/init.c @@ -1,4 +1,8 @@ /* init.c - initialize ldbm backend */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/kerberos.c b/servers/slapd/back-ldbm/kerberos.c index 14ab368db5..c8e4a54a0a 100644 --- a/servers/slapd/back-ldbm/kerberos.c +++ b/servers/slapd/back-ldbm/kerberos.c @@ -1,4 +1,8 @@ /* kerberos.c - ldbm backend kerberos bind routines */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/modify.c b/servers/slapd/back-ldbm/modify.c index 1fe1a19ac3..41197e0513 100644 --- a/servers/slapd/back-ldbm/modify.c +++ b/servers/slapd/back-ldbm/modify.c @@ -1,4 +1,8 @@ /* modify.c - ldbm backend modify routine */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/modrdn.c b/servers/slapd/back-ldbm/modrdn.c index e7a7f83d03..fae002cec0 100644 --- a/servers/slapd/back-ldbm/modrdn.c +++ b/servers/slapd/back-ldbm/modrdn.c @@ -1,4 +1,8 @@ /* modrdn.c - ldbm backend modrdn routine */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* * LDAP v3 newSuperior support. Add new rdn as an attribute. diff --git a/servers/slapd/back-ldbm/nextid.c b/servers/slapd/back-ldbm/nextid.c index 34c7bfe5c9..d0d259aba8 100644 --- a/servers/slapd/back-ldbm/nextid.c +++ b/servers/slapd/back-ldbm/nextid.c @@ -1,4 +1,8 @@ /* id.c - keep track of the next id to be given out */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/proto-back-ldbm.h b/servers/slapd/back-ldbm/proto-back-ldbm.h index bac579c371..e8732bb0fc 100644 --- a/servers/slapd/back-ldbm/proto-back-ldbm.h +++ b/servers/slapd/back-ldbm/proto-back-ldbm.h @@ -2,6 +2,7 @@ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ + #ifndef _PROTO_BACK_LDBM #define _PROTO_BACK_LDBM diff --git a/servers/slapd/back-ldbm/search.c b/servers/slapd/back-ldbm/search.c index 11171e4039..aaefcd3f12 100644 --- a/servers/slapd/back-ldbm/search.c +++ b/servers/slapd/back-ldbm/search.c @@ -1,4 +1,8 @@ /* search.c - ldbm backend search function */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/startup.c b/servers/slapd/back-ldbm/startup.c index 8464876287..ec4c9faf1b 100644 --- a/servers/slapd/back-ldbm/startup.c +++ b/servers/slapd/back-ldbm/startup.c @@ -1,4 +1,8 @@ /* startup.c - startup ldbm backend */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/back-ldbm/unbind.c b/servers/slapd/back-ldbm/unbind.c index 0241a00b35..abf7fdf1c2 100644 --- a/servers/slapd/back-ldbm/unbind.c +++ b/servers/slapd/back-ldbm/unbind.c @@ -1,4 +1,8 @@ /* unbind.c - handle an ldap unbind operation */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/backend.c b/servers/slapd/backend.c index c8d30afd06..0c07a87a9b 100644 --- a/servers/slapd/backend.c +++ b/servers/slapd/backend.c @@ -1,3 +1,7 @@ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* backend.c - routines for dealing with back-end databases */ diff --git a/servers/slapd/bind.c b/servers/slapd/bind.c index 34d617e627..8ec9132954 100644 --- a/servers/slapd/bind.c +++ b/servers/slapd/bind.c @@ -1,4 +1,8 @@ /* bind.c - decode an ldap bind operation and pass it to a backend db */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* * Copyright (c) 1995 Regents of the University of Michigan. diff --git a/servers/slapd/ch_malloc.c b/servers/slapd/ch_malloc.c index 8fa9ce33d1..27b7cca769 100644 --- a/servers/slapd/ch_malloc.c +++ b/servers/slapd/ch_malloc.c @@ -1,4 +1,8 @@ /* ch_malloc.c - malloc routines that test returns from malloc and friends */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/charray.c b/servers/slapd/charray.c index e972d22ec4..c7902bb844 100644 --- a/servers/slapd/charray.c +++ b/servers/slapd/charray.c @@ -1,4 +1,8 @@ /* charray.c - routines for dealing with char * arrays */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/compare.c b/servers/slapd/compare.c index 61380982ff..4e9d46cf81 100644 --- a/servers/slapd/compare.c +++ b/servers/slapd/compare.c @@ -1,3 +1,7 @@ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* * Copyright (c) 1995 Regents of the University of Michigan. * All rights reserved. diff --git a/servers/slapd/config.c b/servers/slapd/config.c index c0bc3fd69d..ff114775f0 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -1,4 +1,8 @@ /* config.c - configuration file handling routines */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/configinfo.c b/servers/slapd/configinfo.c index 565a606647..68854d4f36 100644 --- a/servers/slapd/configinfo.c +++ b/servers/slapd/configinfo.c @@ -1,3 +1,7 @@ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* * Copyright (c) 1995 Regents of the University of Michigan. * All rights reserved. diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index d455c6eafc..31b1283b61 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -1,3 +1,8 @@ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ + #include "portable.h" #include diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 2ce6669f2f..445ba1bcc3 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -1,3 +1,8 @@ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ + #include "portable.h" #include diff --git a/servers/slapd/delete.c b/servers/slapd/delete.c index 0a15eb67a9..03d9c16ab5 100644 --- a/servers/slapd/delete.c +++ b/servers/slapd/delete.c @@ -1,3 +1,7 @@ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* * Copyright (c) 1995 Regents of the University of Michigan. * All rights reserved. diff --git a/servers/slapd/dn.c b/servers/slapd/dn.c index cb356d0639..cc88a40bbf 100644 --- a/servers/slapd/dn.c +++ b/servers/slapd/dn.c @@ -1,4 +1,8 @@ /* dn.c - routines for dealing with distinguished names */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/entry.c b/servers/slapd/entry.c index ce08b132d1..2954ca3671 100644 --- a/servers/slapd/entry.c +++ b/servers/slapd/entry.c @@ -1,4 +1,8 @@ /* entry.c - routines for dealing with entries */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/filter.c b/servers/slapd/filter.c index aa8ee10297..cb830de014 100644 --- a/servers/slapd/filter.c +++ b/servers/slapd/filter.c @@ -1,4 +1,8 @@ /* filter.c - routines for parsing and dealing with filters */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/filterentry.c b/servers/slapd/filterentry.c index 738b66f5b3..dd6da92f64 100644 --- a/servers/slapd/filterentry.c +++ b/servers/slapd/filterentry.c @@ -1,4 +1,8 @@ /* filterentry.c - apply a filter to an entry */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/init.c b/servers/slapd/init.c index 36face1b28..ea9234ddd0 100644 --- a/servers/slapd/init.c +++ b/servers/slapd/init.c @@ -1,4 +1,8 @@ /* init.c - initialize various things */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/lock.c b/servers/slapd/lock.c index fe3a850abd..ac109065a2 100644 --- a/servers/slapd/lock.c +++ b/servers/slapd/lock.c @@ -1,4 +1,8 @@ /* lock.c - routines to open and apply an advisory lock to a file */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index 5be9cdc5d8..c1f8b24ae5 100644 --- a/servers/slapd/modify.c +++ b/servers/slapd/modify.c @@ -1,3 +1,7 @@ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* * Copyright (c) 1995 Regents of the University of Michigan. * All rights reserved. diff --git a/servers/slapd/modrdn.c b/servers/slapd/modrdn.c index 729aded31e..b650ee4a92 100644 --- a/servers/slapd/modrdn.c +++ b/servers/slapd/modrdn.c @@ -1,3 +1,7 @@ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* * Copyright (c) 1995 Regents of the University of Michigan. * All rights reserved. diff --git a/servers/slapd/monitor.c b/servers/slapd/monitor.c index 659be6e99b..0c6e4d6863 100644 --- a/servers/slapd/monitor.c +++ b/servers/slapd/monitor.c @@ -1,3 +1,7 @@ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* * Copyright (c) 1995 Regents of the University of Michigan. * All rights reserved. diff --git a/servers/slapd/operation.c b/servers/slapd/operation.c index 4ca92d801b..a4401bced5 100644 --- a/servers/slapd/operation.c +++ b/servers/slapd/operation.c @@ -1,4 +1,8 @@ /* operation.c - routines to deal with pending ldap operations */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/phonetic.c b/servers/slapd/phonetic.c index f5871ee8b8..f5e402f330 100644 --- a/servers/slapd/phonetic.c +++ b/servers/slapd/phonetic.c @@ -1,4 +1,8 @@ /* phonetic.c - routines to do phonetic matching */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/repl.c b/servers/slapd/repl.c index 122872f92b..8f8b643922 100644 --- a/servers/slapd/repl.c +++ b/servers/slapd/repl.c @@ -1,4 +1,8 @@ /* repl.c - log modifications for replication purposes */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index 5ebfe68d35..8c348193ec 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -1,3 +1,8 @@ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ + #include "portable.h" #include diff --git a/servers/slapd/schema.c b/servers/slapd/schema.c index 577fbfcbf0..44c86656d8 100644 --- a/servers/slapd/schema.c +++ b/servers/slapd/schema.c @@ -1,4 +1,8 @@ /* schema.c - routines to enforce schema definitions */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/schemaparse.c b/servers/slapd/schemaparse.c index 42aa19d835..202329978f 100644 --- a/servers/slapd/schemaparse.c +++ b/servers/slapd/schemaparse.c @@ -1,4 +1,8 @@ /* schemaparse.c - routines to parse config file objectclass definitions */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/str2filter.c b/servers/slapd/str2filter.c index 3fce185f77..3c1a3e78fe 100644 --- a/servers/slapd/str2filter.c +++ b/servers/slapd/str2filter.c @@ -1,4 +1,8 @@ /* str2filter.c - parse an rfc 1588 string filter */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" diff --git a/servers/slapd/tools/ldif2common.c b/servers/slapd/tools/ldif2common.c index 566391a66b..3bc52e04a5 100644 --- a/servers/slapd/tools/ldif2common.c +++ b/servers/slapd/tools/ldif2common.c @@ -1,3 +1,7 @@ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* ldif2common.c - common definitions for the ldif2* tools */ #include "portable.h" diff --git a/servers/slapd/tools/ldif2common.h b/servers/slapd/tools/ldif2common.h index 6520cf8592..0d63a8b7c2 100644 --- a/servers/slapd/tools/ldif2common.h +++ b/servers/slapd/tools/ldif2common.h @@ -1,3 +1,7 @@ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* ldif2common.h - common definitions for the ldif2* tools */ #ifndef LDIF2COMMON_H_ diff --git a/servers/slapd/tools/ldif2ldbm.c b/servers/slapd/tools/ldif2ldbm.c index 1af98050ff..f54eb8c6db 100644 --- a/servers/slapd/tools/ldif2ldbm.c +++ b/servers/slapd/tools/ldif2ldbm.c @@ -40,7 +40,6 @@ main( int argc, char **argv ) char *linep, *buf; char *args[MAXARGS]; char buf2[20], buf3[20]; - char line[BUFSIZ]; char cmd[MAXPATHLEN]; int lineno, elineno; int lmax; diff --git a/servers/slapd/unbind.c b/servers/slapd/unbind.c index da6e1cd7c7..4c509860c7 100644 --- a/servers/slapd/unbind.c +++ b/servers/slapd/unbind.c @@ -1,4 +1,8 @@ /* unbind.c - decode an ldap unbind operation and pass it to a backend db */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* * Copyright (c) 1995 Regents of the University of Michigan. diff --git a/servers/slapd/user.c b/servers/slapd/user.c index acac1ad163..2613fbcfa4 100644 --- a/servers/slapd/user.c +++ b/servers/slapd/user.c @@ -1,6 +1,10 @@ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ /* user.c - set user id, group id and group access list * - * Copyright 1999 by PM Lashley and The OpenLDAP Foundation. + * Copyright 1999 by PM Lashley. * All rights reserved. * * Redistribution and use in source and binary forms are permitted only diff --git a/servers/slapd/value.c b/servers/slapd/value.c index ccabdf06a4..c556493598 100644 --- a/servers/slapd/value.c +++ b/servers/slapd/value.c @@ -1,4 +1,8 @@ /* value.c - routines for dealing with values */ +/* + * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. + * COPYING RESTRICTIONS APPLY, see COPYRIGHT file + */ #include "portable.h" -- 2.39.5