> is it everything ok with this patch? It doesn't look in way gcc like;)
Sorry, copy&paste error. I did not notice that the lines were broken at end of
the terminal window :-(
This is the correct one:
diff --git a/runtime/srutils.c b/runtime/srutils.c
index a473c83..2cc58ad 100644
--- a/runtime/srutils.c
+++ b/runtime/srutils.c
@@ -486,7 +486,9 @@ srSleep(int iSeconds, int iuSeconds)
BEGINfunc
tvSelectTimeout.tv_sec = iSeconds;
tvSelectTimeout.tv_usec = iuSeconds; /* micro seconds */
+dbgprintf("srSleep: enter, sec=%d, usec=%d\n", (int)tvSelectTimeout.tv_sec,
(int)tvSelectTimeout.tv_usec);
select(0, NULL, NULL, NULL, &tvSelectTimeout);
+dbgprintf("srSleep: end, sec=%d, usec=%d (was sec=%d, usec=%d)\n",
(int)tvSelectTimeout.tv_sec, (int)tvSelectTimeout.tv_usec, iSeconds,
iuSeconds);
ENDfunc
}
Rainer
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards