March 9, 2010
View f19a068

Add missing stdlib.h #include, fixes the warnings: tools/trasher.c:44: warning: implicit declaration of function ‘atoi’ tools/trasher.c:53: warning: implicit declaration of function ‘abs’

Diego Biurrun authored on 2010/03/09 02:00:21
March 6, 2010
View 5988dc9

Remove apparently unneeded define and includes.

Michael Niedermayer authored on 2010/03/06 10:32:52
View 47cf98e

Make trasher use a well defined random number generator and allow the seed to be specified on the cmd line.

Michael Niedermayer authored on 2010/03/06 10:31:17
March 25, 2009
View 6510c45

Add _XOPEN_SOURCE #define. This is necessary for (s)random(), which are XSI extensions of POSIX. Avoids implicit declaration warnings on some systems.

Diego Biurrun authored on 2009/03/25 01:28:48
July 14, 2008
View 4a8361f

tools/trasher: Don't mix srand/rand and srandom/random interface. patch by matthieu castet, castet.matthieu free fr

Matthieu Castet authored on 2008/07/14 06:44:00
January 10, 2008
View c33820e

Add LGPL license header.

Diego Biurrun authored on 2008/01/10 19:26:57
January 9, 2008
View 9052781

Error checking: make sure that there are 3 parameters and that the file open operation succeeds.

Mike Melanson authored on 2008/01/09 09:29:49
View e36f0f0

Remove unused variable i.

Diego Biurrun authored on 2008/01/09 07:57:03
January 8, 2008
View 0f340f8

A little proggy i wrote years ago. This simply writes burts of random data into a file. Great for testing error robustness/resilience/concealment.

Michael Niedermayer authored on 2008/01/08 09:54:19