1. 12 Jan, 1999 1 commit
  2. 11 Jan, 1999 1 commit
    • Kurt Zeilenga's avatar
      Change SLAPD shutdown to do a cond wait on active threads instead · 82b94e22
      Kurt Zeilenga authored
      of a busy wait and allow the pthread_yield within the loop to be
      removed.  This was the only pthread_yield which was necessary
      when usng non-preemptive threads.  As such, the configure.in
      sched_yield/pthread_yield missing error can be removed from
      configure.in.  If explicit yield function is missing, just provide
      a no-op replacement.
      Moved declaration of various slapd globals from main.c to init.c
      so they can be shared with ldbm tools.
  3. 05 Jan, 1999 1 commit
    • Kurt Spanier's avatar
      - Make install creates $(RUNDIR)/var for pid and args files of slapd. · 9c6d384b
      Kurt Spanier authored
      - slapd's pid/args file names are based on the servers binary file names,
        providing for multiple servers beeing run on one host.
      - slapd supports the -l command line parameter for selection of a
        syslog LOCAL user (-lLOCAL0 .. -lLOCAL7)
      - db_appinit() is called during first ldbm_open() in DB 2.x to initialize
        DB debugging features (good to find bugs in the DB code :-)
      - a patch for a non-initialized variable in DB's 2.x db_open is provided.
  4. 01 Jan, 1999 1 commit
  5. 30 Dec, 1998 1 commit
    • Kurt Zeilenga's avatar
      Cleanup thread handling to resolve non-exiting daemons on FreeBSD. · 595bf866
      Kurt Zeilenga authored
      Seems that calling pthread_exit() in the main (and only active)
      thread does not cause the whole process to exit.  Very odd.
      Anyways, as we want to whole process to exit, we should just exit
      after joining with our other threads.
      I've also removed dead code for detaching threads we join with.
  6. 29 Dec, 1998 1 commit
  7. 27 Dec, 1998 1 commit
  8. 22 Dec, 1998 1 commit
  9. 20 Dec, 1998 1 commit
  10. 30 Nov, 1998 1 commit
  11. 27 Nov, 1998 1 commit
  12. 16 Nov, 1998 1 commit
    • 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.
  13. 15 Nov, 1998 1 commit
    • 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.
  14. 11 Nov, 1998 1 commit
  15. 05 Nov, 1998 2 commits
  16. 26 Oct, 1998 1 commit
  17. 25 Oct, 1998 2 commits
  18. 21 Oct, 1998 2 commits
  19. 21 Aug, 1998 1 commit
  20. 18 Aug, 1998 2 commits
  21. 17 Aug, 1998 1 commit
  22. 13 Aug, 1998 1 commit
  23. 09 Aug, 1998 1 commit