src/fidentify.c: call file_rename_*() when available but only for

Frama-C validation
This commit is contained in:
Christophe Grenier 2021-06-05 19:31:35 +02:00
parent d5e0f86c70
commit e5d7355cff

View file

@ -287,6 +287,12 @@ static int file_identify(const char *filename, const unsigned int options)
} }
#endif #endif
printf("\n"); printf("\n");
#ifdef __FRAMAC__
if(file_recovery_new.file_rename!=NULL)
{
file_recovery_new.file_rename(&file_recovery_new);
}
#endif
} }
else else
{ {