mirror of
https://github.com/hashcat/hashcat.git
synced 2025-06-26 01:42:36 +00:00
Linux ifdefs atime to atim. No need for this
This commit is contained in:
parent
f471233544
commit
a7d9e242ac
@ -16,11 +16,7 @@ int sort_by_dictstat (const void *s1, const void *s2)
|
|||||||
dictstat_t *d1 = (dictstat_t *) s1;
|
dictstat_t *d1 = (dictstat_t *) s1;
|
||||||
dictstat_t *d2 = (dictstat_t *) s2;
|
dictstat_t *d2 = (dictstat_t *) s2;
|
||||||
|
|
||||||
#if defined (__linux__) || defined (__CYGWIN__)
|
|
||||||
d2->stat.st_atim = d1->stat.st_atim;
|
|
||||||
#else
|
|
||||||
d2->stat.st_atime = d1->stat.st_atime;
|
d2->stat.st_atime = d1->stat.st_atime;
|
||||||
#endif
|
|
||||||
|
|
||||||
return memcmp (&d1->stat, &d2->stat, sizeof (struct stat));
|
return memcmp (&d1->stat, &d2->stat, sizeof (struct stat));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user