kadmind should be quiet in nofork mode after it prints the
"starting..." sentinel line, or it can fill the pipe buffer when run
from k5test.py. Since there is currently no run-time debuf flag,
conditionalize the DPRINT macro in ipropd_svc.c on DEBUG at compile
time.
ticket: 8219 (new)
#ifdef DPRINT
#undef DPRINT
#endif
+#ifdef DEBUG
#define DPRINT(...) \
do { \
if (nofork) { \
fflush(stderr); \
} \
} while (0)
-
+#else
+#define DPRINT(...)
+#endif
static void
debprret(char *w, update_status_t ret, kdb_sno_t sno)