Skip to content
Snippets Groups Projects
Forked from openldap / OpenLDAP
Source project has a limited visibility.
  • Kurt Zeilenga's avatar
    7adc0a65
    Update lutil_lockf (aka: ldap_lockf) to hide implementation in · 7adc0a65
    Kurt Zeilenga authored
    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.
    7adc0a65
    History
    Update lutil_lockf (aka: ldap_lockf) to hide implementation in
    Kurt Zeilenga authored
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.