This is the first working version of the new logging system. Some work
in fine tuning still needs to be done. But is reasonably OK now.
This commit is contained in:
@ -5,7 +5,6 @@
|
||||
|
||||
/* for logging */
|
||||
#include "sics.h"
|
||||
#include "commandlog.h"
|
||||
|
||||
/* an uninterruptable version of select. M.Z. Oct 2008 */
|
||||
|
||||
@ -29,7 +28,7 @@ int uselect(int nfds,
|
||||
}
|
||||
result = pselect(nfds, readfds, writefds, exceptfds, tmoPtr, &sigmask);
|
||||
if (result < 0 && errno == EINTR) {
|
||||
WriteToCommandLog("SYS>", "pselect was interrupted!");
|
||||
Log(WARN,"sys", "%s", "pselect was interrupted!");
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user