[sl] syslinux support (MinGW)

* also fixes memory leak in syslinux.c
* closes #31
This commit is contained in:
Pete Batard 2012-01-12 11:04:03 +00:00
parent acf7d072b0
commit b6252a913a
17 changed files with 916 additions and 39 deletions

View file

@ -523,10 +523,10 @@ void __cdecl FormatThread(void* param)
goto out;
}
break;
// SysLinux requires patching of the PBR after the files have been extracted
// Syslinux requires patching of the PBR after the files have been extracted
case DT_SYSLINUX:
if (!InstallSysLinux(num, drive_name)) {
FormatStatus = ERROR_SEVERITY_ERROR|FAC(FACILITY_STORAGE)|ERROR_CANNOT_COPY;
if (!InstallSyslinux(num, drive_name)) {
FormatStatus = ERROR_SEVERITY_ERROR|FAC(FACILITY_STORAGE)|ERROR_INSTALL_FAILURE;
goto out;
}
break;