diff --git a/ChangeLog b/ChangeLog index c0941f2..7dded47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,13 +1,14 @@ Version NEXT - use getopt from stdio.h instead of getopt.h in fspscan.c + use getopt from stdio.h instead of getopt.h in fspscan.c fspscan now compiles on AIX and other OS without glibc (hoaxter) !! fixed fatal bug from b23. Server sends large packets to clients if client request has not prefered reply size inside. This confuses all old fsp clients. - common/strdup.c removed + common/strdup.c removed bsd_src/function.c bcopy -> memmove removed STDC_HEADER checks, drop support for pre-ANSI compilers started work on alternate SCons based build system + fspd: use urandom, not random -> avoid hangs on Lin suck 2.6 Version 2.8.1b23 - 14 Jan 2005 use srandomdev for seeding of client seq. number generator diff --git a/server/main.c b/server/main.c index 91cbfc5..742add6 100644 --- a/server/main.c +++ b/server/main.c @@ -137,7 +137,7 @@ static void init_random (void) unsigned int seed; FILE *f; - f=fopen("/dev/random","rb"); + f=fopen("/dev/urandom","rb"); if(f) { fread(&seed,sizeof(unsigned int),1,f);