PhotoRec: get .reg file date from header
This commit is contained in:
parent
e6f2c37ad0
commit
eef1b4b104
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,7 @@ static int header_check_reg_nt(const unsigned char *buffer, const unsigned int b
|
||||||
reset_file_recovery(file_recovery_new);
|
reset_file_recovery(file_recovery_new);
|
||||||
file_recovery_new->min_filesize=0x1000;
|
file_recovery_new->min_filesize=0x1000;
|
||||||
file_recovery_new->extension=file_hint_reg.extension;
|
file_recovery_new->extension=file_hint_reg.extension;
|
||||||
|
file_recovery_new->time=td_ntfs2utc(le64(header->modification_time));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue