From eef1b4b104bccedaa7cf2694c54f20d3539f8f4e Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Fri, 19 Apr 2013 07:58:59 +0200 Subject: [PATCH] PhotoRec: get .reg file date from header --- src/file_reg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/file_reg.c b/src/file_reg.c index 389dfd3e..45f97286 100644 --- a/src/file_reg.c +++ b/src/file_reg.c @@ -110,6 +110,7 @@ static int header_check_reg_nt(const unsigned char *buffer, const unsigned int b reset_file_recovery(file_recovery_new); file_recovery_new->min_filesize=0x1000; file_recovery_new->extension=file_hint_reg.extension; + file_recovery_new->time=td_ntfs2utc(le64(header->modification_time)); return 1; }