[Bug 47] Debugging and logging do not work after a fork.
[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.
Showing with 3625 additions and 2711 deletions