mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-01 12:26:38 -05:00
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:
parent
c840a3e287
commit
de86307a27
13 changed files with 152 additions and 32 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue