• Show log

    Commit

  • Hash : b0ebb0d4
    Author : Guillem Jover
    Date : 2019-08-06T23:16:42

    build: Use __register_atfork() only if really available This is a glibc-specific symbol that has no public declaration. But is being used by the OpenBSD and this implementation as a hack to avoid having to link against the pthread library. This interface is at least included in LSB 5.0 [L], and using pthread_atfork() is otherwise problematic anyway [P]. [L] <https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib---register-atfork.html> [P] <http://austingroupbugs.net/view.php?id=851> One problem is that we were using it whenever __GLIBC__ is defined, which is supposed to be defined only on an actual glibc, but uClibc defines that macro, but it does not provide the symbol on its noMMU variant. We add a new configure check that will try to link a program that uses that symbol to make sure it is present. Closes: !2 Reported-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

  • 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>