Skip to content
  • Dave Hart's avatar
    [Bug 47] Debugging and logging do not work after a fork. · ea3fb054
    Dave Hart authored
    [Bug 1010] getaddrinfo() could block and thus should not be called by
    the main thread/process.
    
    #include <config.h> from all .c files and do not include it  from any .h files.
    
    Previously config.h appeared a dozen times in preprocessed output of
    some .c files.
    
    handle relative path to logfile correctly despite
    re-opening after fork() with a different curdir.
    
    eliminate hand-crafted byte-swapping code from refclock_palisade.c in
    preference to using htonl(), htons().  Tested by Fernando
    Hauscarriaga.
    ea3fb054