Skip to content
Snippets Groups Projects
  1. Mar 28, 1999
    • Kurt Zeilenga's avatar
      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
  2. Mar 13, 1999
  3. Mar 01, 1999
  4. Nov 16, 1998
    • Kurt Zeilenga's avatar
      Remove extern declarations of library functions from source.c. · b5494457
      Kurt Zeilenga authored
        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.
      b5494457
  5. Nov 15, 1998
    • Hallvard Furuseth's avatar
      Protoized, moved extern definitions to .h files, fixed related bugs. · 7e6ad510
      Hallvard Furuseth authored
      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.
      7e6ad510
  6. Nov 11, 1998
    • Hallvard Furuseth's avatar
      · f0688d71
      Hallvard Furuseth authored
      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.
      f0688d71
  7. Nov 05, 1998
  8. Oct 25, 1998
  9. Oct 24, 1998
  10. Oct 22, 1998
  11. Oct 21, 1998
  12. Aug 09, 1998
Loading