• Show log

    Commit

  • Hash : 01f0d1ea
    Author : Faidon Liambotis
    Date : 2020-12-31T12:46:03

    Add recallocarray() and freezero() from OpenBSD
    
    Add recallocarray(), introduced in OpenBSD 6.1, and freezero(),
    introduced in OpenBSD 6.2. The former is imported as-is from OpenBSD,
    while the latter is the non-malloc-internal branch of the same code (and
    also the OpenSSH portable variant).
    
    Both of these originated in OpenBSD, but have also been implemented by
    IllumOS, cf. https://www.illumos.org/issues/8546
    
    Documentation for these functions is in malloc(3) upstream, the relevant
    parts of which were previously imported in reallocarray(3bsd). Update
    reallocarray(3bsd) with the changes that were introduced since, and add
    the relevant bits for recallocarray() and freezero(), plus aliases.
    
    [guillem@hadrons.org: Update copyright in COPYING. ]
    
    Closes: !10
    Signed-off-by: Guillem Jover <guillem@hadrons.org>
    

  • README

  • libbsd - Utility functions from BSD systems
    
    This library provides useful functions commonly found on BSD systems,
    and lacking on others like GNU systems, thus making it easier to port
    projects with strong BSD origins, without needing to embed the same
    code over and over again on each project.
    
    
    Releases
    --------
    
      <https://libbsd.freedesktop.org/releases/>
    
    
    Mailing List
    ------------
    
    The subscription interface and web archives can be found at:
    
      <https://lists.freedesktop.org/mailman/listinfo/libbsd>
    
    The mail address is:
    
      libbsd@lists.freedesktop.org
    
    
    Source Repository
    -----------------
    
    The master repository can be browsed at:
    
      <https://cgit.freedesktop.org/libbsd>
    
    and cloned from:
    
      <https://anongit.freedesktop.org/git/libbsd>