summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2020-05-03 09:13:46 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2020-05-03 09:13:46 +0200
commita48c7f27003a81b525c6e74e8ff077dc3acfcdf9 (patch)
treed80d967815d599d957dcb379cad2ac61e3af2798
parentd5282102c6543c4c79003af090f46222f3d188ce (diff)
NTFS undelete: show file date - Fix regression from a1419a0806b4270bfad92ea496624b2edee5062c
-rw-r--r--src/ntfs_udl.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ntfs_udl.c b/src/ntfs_udl.c
index ecbac2d..d96867f 100644
--- a/src/ntfs_udl.c
+++ b/src/ntfs_udl.c
@@ -28,6 +28,11 @@
#include <config.h>
#endif
+#if defined(__FRAMAC__) || defined(MAIN_photorec)
+#undef HAVE_LIBNTFS
+#undef HAVE_LIBNTFS3G
+#endif
+
#include <stdio.h>
#ifdef HAVE_FEATURES_H
#include <features.h>
@@ -1263,7 +1268,7 @@ static void ntfs_undelete_menu_ncurses(disk_t *disk_car, const partition_t *part
waddstr(window, " ");
if((file_info->status&FILE_STATUS_MARKED)!=0 && has_colors())
wbkgdset(window,' ' | COLOR_PAIR(2));
- set_date((char *)&datestr, sizeof(datestr), file_info->td_mtime);
+ set_datestr((char *)&datestr, sizeof(datestr), file_info->td_mtime);
if(COLS <= 1+17+1+9+1)
wprintw(window, "%s", file_info->name);
else