On Tue, 30 May 2000, David Faure wrote: > On Mon, May 29, 2000 at 03:56:28PM +0200, Alexander Feigl wrote: > > Hi! > > > > I cannot compile current KShred.cpp because random() and srandom() don't > > get included. > > > > srandom() and random are only included when _XOPEN_SOURCE_EXTENDED or > > _SVID_SOURCE are definded. I'm using glibc 2.1. (Linux). > > > > Is there any reason why we use srandom() and random()? srand() and rand() > > would be available without #defines > > Hmm, I'm a bit lost in the random/rand/KRandomSequence situation. > Waldo ? Should KShred use the latter ? Otherwise, what's the > file to include ? It needs cryptographicly strong random numbers, so I would use KApplication::random(). Cheers, Waldo