| 125 | } |
| 126 | |
| 127 | static void display_version(void) |
| 128 | { |
| 129 | printf("\n"); |
| 130 | printf("Version: %s\n", VERSION); |
| 131 | printf("Compiler: %s\n", get_compiler()); |
| 132 | #ifdef RECORD_COMPILATION_DATE |
| 133 | printf("Compilation date: %s\n", get_compilation_date()); |
| 134 | #endif |
| 135 | printf("ext2fs lib: %s, ntfs lib: %s, reiserfs lib: %s, ewf lib: %s, curses lib: %s\n", |
| 136 | td_ext2fs_version(), td_ntfs_version(), td_reiserfs_version(), td_ewf_version(), td_curses_version()); |
| 137 | #ifdef HAVE_ICONV |
| 138 | printf("iconv support: yes\n"); |
| 139 | #else |
| 140 | printf("iconv support: no\n"); |
| 141 | #endif |
| 142 | printf("OS: %s\n" , get_os()); |
| 143 | } |
| 144 | |
| 145 | static int display_disk_list(list_disk_t *list_disk, const int testdisk_mode, |
| 146 | const int create_backup, const int safe, const int saveheader, const int unit, const int verbose) |
no test coverage detected