Uses a smarter copy detection to avoid false positive.

Now a if the file has a zero nanosecond timestamp, it must
match the full pathname.
Also add the new -N option and an new undocumented test-nano
command to set randomly the nanosecond timestamp of files
that have it at zero.
This commit is contained in:
Andrea Mazzoleni 2014-05-15 23:45:51 +02:00
parent c840a3e287
commit de86307a27
13 changed files with 152 additions and 32 deletions

View file

@ -1641,8 +1641,6 @@ void randomize(void* void_ptr, unsigned size)
unsigned char* ptr = void_ptr;
unsigned i;
srand(time(0));
for(i=0;i<size;++i)
ptr[i] = rand();
}