CVS log for servers/slapd/lock.c

[BACK] Up to [OpenLDAP] / servers / slapd

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN
Current tag: MAIN


Revision 1.37: download - view: text, markup - select for diffs
Tue Jan 4 23:43:14 2011 UTC (10 years, 10 months ago) by kurt
Branches: MAIN
CVS tags: MIGRATION_CVS2GIT, HEAD
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2 lines
Happy New Year

Revision 1.36: download - view: text, markup - select for diffs
Tue Apr 13 20:18:07 2010 UTC (11 years, 7 months ago) by kurt
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2 lines
happy belated New Year

Revision 1.35: download - view: text, markup - select for diffs
Wed Jan 21 23:40:27 2009 UTC (12 years, 10 months ago) by kurt
Branches: MAIN
CVS tags: ACLCHECK_0, ACLCHECK
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
Update copyright notices

Revision 1.34: download - view: text, markup - select for diffs
Mon Jan 7 23:20:08 2008 UTC (13 years, 10 months ago) by kurt
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 lines
Happy New Year (belated)

Revision 1.33: download - view: text, markup - select for diffs
Tue Jan 2 19:01:04 2007 UTC (14 years, 11 months ago) by kurt
Branches: MAIN
CVS tags: OPENLDAP_REL_ENG_2_4_MP
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
happy new year

Revision 1.32: download - view: text, markup - select for diffs
Tue Jan 3 22:12:14 2006 UTC (15 years, 10 months ago) by kurt
Branches: MAIN
CVS tags: OPENLDAP_REL_ENG_2_4_BP, OPENLDAP_REL_ENG_2_4_3ALPHA, OPENLDAP_REL_ENG_2_4_2ALPHA, OPENLDAP_REL_ENG_2_4_1ALPHA, OPENLDAP_REL_ENG_2_4_0ALPHA, OPENLDAP_REL_ENG_2_3_MP
Branch point for: OPENLDAP_REL_ENG_2_4
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
Happy new year!

Revision 1.31: download - view: text, markup - select for diffs
Tue Jan 11 23:17:12 2005 UTC (16 years, 10 months ago) by hyc
Branches: MAIN
CVS tags: OPENLDAP_REL_ENG_2_2_MP, OPENLDAP_AC_MP, OPENLDAP_AC_BP, OPENLDAP_AC
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -2 lines
ITS#3421 flush and close logfile before releasing lock

Revision 1.30: download - view: text, markup - select for diffs
Sat Jan 1 19:49:49 2005 UTC (16 years, 11 months ago) by kurt
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
Happy New Year!

Revision 1.29: download - view: text, markup - select for diffs
Sat Sep 4 02:54:30 2004 UTC (17 years, 2 months ago) by kurt
Branches: MAIN
CVS tags: OPENLDAP_REL_ENG_2_3_BP, OPENLDAP_REL_ENG_2_3_0ALPHA
Branch point for: OPENLDAP_REL_ENG_2_3
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +1 -11 lines
unifdef -UNEW_LOGGING

Revision 1.28: download - view: text, markup - select for diffs
Thu Jan 1 18:15:30 2004 UTC (17 years, 11 months ago) by kurt
Branches: MAIN
CVS tags: OPENLDAP_REL_ENG_2_1_MP
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
Happy new year

Revision 1.27: download - view: text, markup - select for diffs
Thu Nov 27 00:17:15 2003 UTC (18 years ago) by kurt
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +23 -4 lines
Updated notices

Revision 1.26: download - view: text, markup - select for diffs
Tue Mar 11 04:58:53 2003 UTC (18 years, 8 months ago) by hyc
Branches: MAIN
CVS tags: OPENLDAP_REL_ENG_2_2_BP, OPENLDAP_REL_ENG_2_2_2BETA, OPENLDAP_REL_ENG_2_2_1BETA, OPENLDAP_REL_ENG_2_2_0ALPHA, NO_SLAP_OP_BLOCKS
Branch point for: OPENLDAP_REL_ENG_2_2
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
Added lutil_passwd_init, _destroy, _add for dynamically adding passwd
schemes. Declarations in lutil.h require lutil.h never be included before
lber.h, always after.

Revision 1.25: download - view: text, markup - select for diffs
Fri Jan 3 19:20:54 2003 UTC (18 years, 11 months ago) by kurt
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
Happy new year

Revision 1.24: download - view: text, markup - select for diffs
Wed Sep 25 02:34:33 2002 UTC (19 years, 2 months ago) by kurt
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -2 lines
benign buffer overflow fix (ITS#1964)

Revision 1.23: download - view: text, markup - select for diffs
Tue Aug 13 00:33:20 2002 UTC (19 years, 3 months ago) by kurt
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -1 lines
Patch: lutil_progname() and lutil_strcopy() are not declared  (ITS#2021)

			================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
			================

lutil_progname() and lutil_strcopy() are not declared, which can
be fatal since they do not return int.

Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, Aug 2002.

Revision 1.22: download - view: text, markup - select for diffs
Fri Jul 26 22:24:02 2002 UTC (19 years, 4 months ago) by hyc
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
Moved slap_strcopy, slap_strncopy to lutil_strcopy, lutil_strncopy

Revision 1.21: download - view: text, markup - select for diffs
Thu Jul 11 18:33:29 2002 UTC (19 years, 4 months ago) by julius
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -5 lines

Coverted LDAP_LOG macro to use subsystem ID int values instead of string values

Revision 1.20: download - view: text, markup - select for diffs
Fri Jan 4 20:17:46 2002 UTC (19 years, 10 months ago) by kurt
Branches: MAIN
CVS tags: OPENLDAP_REL_ENG_2_MP, OPENLDAP_REL_ENG_2_1_BP, OPENLDAP_REL_ENG_2_1_BETA1, OPENLDAP_REL_ENG_2_1_ALPHA0, OPENLDAP_REL_ENG_2_1_3, OPENLDAP_REL_ENG_2_1_2
Branch point for: OPENLDAP_REL_ENG_2_1
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
Update copyright statements

Revision 1.19: download - view: text, markup - select for diffs
Wed Dec 26 15:25:18 2001 UTC (19 years, 11 months ago) by hyc
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -3 lines
Replace strcat with slap_strcopy

Revision 1.18: download - view: text, markup - select for diffs
Wed Jan 17 15:35:54 2001 UTC (20 years, 10 months ago) by gwilliams
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -5 lines
fix format

Revision 1.17: download - view: text, markup - select for diffs
Mon Jan 15 18:17:30 2001 UTC (20 years, 10 months ago) by gwilliams
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +13 -1 lines
More new logging (Behind NEW_LOGGING)

Revision 1.16: download - view: text, markup - select for diffs
Sat May 13 00:47:57 2000 UTC (21 years, 6 months ago) by kurt
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
Y2k copyright update

Revision 1.15: download - view: text, markup - select for diffs
Tue Nov 2 18:39:56 1999 UTC (22 years, 1 month ago) by hyc
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -2 lines
Removed explicit include of <ac/param.h> because it must be included
after <stdlib.h>, but <stdlib.h> is included in slap.h. Moved <ac/param.h>
include into slap.h.

Revision 1.14: download - view: text, markup - select for diffs
Mon Nov 1 16:21:27 1999 UTC (22 years, 1 month ago) by kdz
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -4 lines
Add <ac/param.h> to wrap <sys/param.h>

Revision 1.13: download - view: text, markup - select for diffs
Wed Sep 8 17:06:33 1999 UTC (22 years, 2 months ago) by kdz
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -0 lines
Add OpenLDAP RCSid to *.[ch] in clients, libraries, and servers.
Replace old Id as needed (back-tcl).
Leave updating of contribWare to contributors (for now).

Revision 1.12: download - view: text, markup - select for diffs
Fri Aug 20 17:00:44 1999 UTC (22 years, 3 months ago) by kdz
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -1 lines
const'fication

Revision 1.11: download - view: text, markup - select for diffs
Fri Aug 6 21:07:46 1999 UTC (22 years, 3 months ago) by kdz
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -0 lines
Add copyright notices.

Revision 1.10: download - view: text, markup - select for diffs
Thu Apr 1 14:32:11 1999 UTC (22 years, 8 months ago) by gwilliams
Branches: MAIN
CVS tags: OPENLDAP_REL_ENG_2_BP, OPENLDAP_REL_ENG_2_0_ALPHA, OPENLDAP_DEVEL_SCHEMA, OPENLDAP_DEVEL_REFERRALS, OPENLDAP_DEVEL_BER_TYPES
Branch point for: OPENLDAP_REL_ENG_2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -0 lines
NT port

Revision 1.9: download - view: text, markup - select for diffs
Sun Mar 28 20:43:43 1999 UTC (22 years, 8 months ago) by kdz
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -3 lines
All implementations of lutil_lockf (aka ldap_lockf) block until
the lock is acquired.  Add comments to that effect.  Remove
unnecessary busy loops from slapd/lock.c and slurpd/lock.c.

Revision 1.8: download - view: text, markup - select for diffs
Sun Mar 28 19:39:03 1999 UTC (22 years, 8 months ago) by kdz
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
Update lutil_lockf (aka: ldap_lockf) to hide implementation in
library, not header.  Eliminate need for <ac/unistd.h> to sometimes
include <fcntl.h> and/or <sys/file.h>.  Change lock API to expect
fd not FILE*.  Allows wider use and eliminates requirement that
lutil_lockf.h depencency on stdio.h.
Implemented lockf, fcntl, and flock locking in lutil/lockf.c.
Additional implementations (including no-op) may be needed.
Update slapd/lock.c and slurpd/lock.c to use new API.

Revision 1.7: download - view: text, markup - select for diffs
Sat Mar 13 19:34:27 1999 UTC (22 years, 8 months ago) by bcollins
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -15 lines
Used new ldap_(un)lockf() functions

Revision 1.6: download - view: text, markup - select for diffs
Mon Nov 16 04:07:34 1998 UTC (23 years ago) by kdz
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +0 -1 lines
Remove extern declarations of library functions from source.c.
  This could cause problems on odd systems.  The generic
  headers should be extended as needed to include necessary
  system headers or, if necessary, make explicit declarations.
Extended ac/string.h header to look for string.h/strings.h if
  STDC_HEADERS is not defined.  Also provide basic declarations for
  str*() functions.  This could cause problems on odd systems.
Extended ac/unistd.h header to define basic declaration for misc
  functions that might be missing from headers.   This includes
  externs for getenv(), getopt(), mktemp(), tempname().
Protect fax500.h from multiple inclusion.  Moved includes of
  system/generic headers back to source files.
Made mail500 helper functions static.
Fixed includes of ctype.h, signal.h, etc. to use generics.
lutil/tempname.c: was including stdlib.h twice, one should stdio.h.
Wrapped <sys/resource.h> with HAVE_SYS_RESOURCE_H.
lber/io.c/ber_get_next(): Changed noctets back to signed.
  Used with BerRead which expects signed int as second arg and
  returns signed int.

Revision 1.5: download - view: text, markup - select for diffs
Sun Nov 15 21:40:21 1998 UTC (23 years ago) by hallvard
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -0 lines
Protoized, moved extern definitions to .h files, fixed related bugs.
Most function and variable definitions are now preceded by its extern
definition, for error checking.  Retyped a number of functions, usually
to return void.  Fixed a number of printf format errors.

API changes (in ldap/include):
  Added avl_dup_ok, avl_prefixapply, removed ber_fatten (probably typo
  for ber_flatten), retyped ldap_sort_strcasecmp, grew lutil.h.

A number of `extern' declarations are left (some added by protoize), to
be cleaned away later.  Mostly strdup(), strcasecmp(), mktemp(), optind,
optarg, errno.

Revision 1.4: download - view: text, markup - select for diffs
Wed Nov 11 18:17:25 1998 UTC (23 years ago) by hallvard
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -0 lines


Locks were not always released, in particular if something went wrong.
Fixed in slurpd and the slapd main dir.  Slapd clients were not examined.
It also "felt right" to swap the order of closing dfp and rfp in slurpd
copy_replog(), so the last acquired lock is unlocked first.

Revision 1.3: download - view: text, markup - select for diffs
Wed Nov 4 18:43:51 1998 UTC (23 years, 1 month ago) by hallvard
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
USE_LOCKF -> HAVE_FLOCK

Revision 1.2: download - view: text, markup - select for diffs
Sat Oct 24 23:42:00 1998 UTC (23 years, 1 month ago) by kurt
Branches: MAIN
CVS tags: OPENLDAP_REL_ENG_1_1_ALPHA
Branch point for: OPENLDAP_REL_ENG_1_1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +13 -13 lines
merged with autoconf branch

Revision 1.1: download - view: text, markup - select for diffs
Sat Aug 8 22:43:13 1998 UTC (23 years, 3 months ago) by kurt
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

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