On Thu, 25 Oct 2012 20:53:33 +0200 Joerg Sonnenberger <jo...@britannica.bec.de> said:
> On Thu, Oct 25, 2012 at 07:32:19PM +0200, rustyBSD wrote: > > III. There is a problem with _e_fm_op_random_char(). > > When wewant to randomize a string we do srand(time()) > > foreachcharacter, so if the file is small enough > > to be deleted inless than a second, it's not randomized. > > And even if it's bigger, it's not goodly randomized.Sorry. > > Is that function really only called once? Otherwise the srand should > really only happen on the first call. > > Joerg fixed it - srand only once. :) -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel