]> git.ipfire.org Git - thirdparty/bird.git/commit
Unix: Change debugging options
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 4 Dec 2018 15:55:25 +0000 (16:55 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 4 Dec 2018 15:55:25 +0000 (16:55 +0100)
commit3fda08e40532245ba69e14cdac0623a138b939f9
tree0332e47c73ab22c92df09518de90fefa89453b2a
parent0642fb4d456fe12e1bbeb2ffc2149433f228c02e
Unix: Change debugging options

The old behavior was that enabling debugging did many nontrivial changes
in BIRD behavior. The patch changes it that these changes are generally
independent. Compiling with --enable-debug now just enables compile-time
debug macros, but do not automatically activate debug mode (-d) nor local
mode (-l). Debug mode with output to file (-D) do not force foreground
mode (-f), therefore there is no need for backgroud option (-b), which is
removed. Also fixes a bug when the default log target in -D mode was
stderr instead of given debug file.
configure.ac
doc/bird.sgml
sysdep/unix/log.c
sysdep/unix/main.c
sysdep/unix/unix.h