Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit c7aa2111 authored by deuce's avatar deuce

Send init errors to stderr

parent 841151a1
......@@ -2374,6 +2374,9 @@ void ODInitError(char *pszErrorText)
free(pszMessage);
}
#endif
#ifdef ODPLAT_NIX
write(2,pszErrorText,strlen(pszErrorText));
#endif
}
......
......@@ -203,7 +203,7 @@ tODResult ODKrnlInitialize(void)
itv.it_value.tv_sec=0;
itv.it_value.tv_usec=10000;
setitimer(ITIMER_REAL,&itv,NULL);
/* Make stdin signal driven. */
/* act.sa_handler=sig_get_char;
/* act.sa_flags=0;
......
......@@ -72,7 +72,8 @@ typedef struct
clock_t Start;
clock_t Duration;
#elif defined(ODPLAT_NIX)
struct timeval Start;
long Start_sec;
long Start_usec;
tODMilliSec Duration;
#else /* !ODPLAT_DOS */
tODMilliSec Start;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment