Репозитории ALT
S: | 24.2-alt3 |
5.1: | 22.7.3-alt6.M51.1 |
4.1: | 22.7.3-alt5 |
4.0: | 22.7.3-alt5 |
3.0: | 22.4.1-alt9 |
Группа :: Система/Ядро и оборудование
Пакет: lilo
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: lilo-22.7.1-mdk-part.patch
Скачать
Скачать
diff -upk.orig lilo-22.7.1.orig/boot.c lilo-22.7.1/boot.c
--- lilo-22.7.1.orig/boot.c 2005-09-03 23:58:25 +0000
+++ lilo-22.7.1/boot.c 2006-06-22 05:57:16 +0000
@@ -318,6 +318,7 @@ void boot_other(char *loader,char *boot,
#endif
struct stat st;
char *pos;
+ char *vanilla_part = part;
int i, code;
int letter = 0;
int unsafe;
@@ -378,7 +379,7 @@ void boot_other(char *loader,char *boot,
if (unsafe) {
(void) geo_open_boot(&geo,boot);
- if (part) die("TABLE and UNSAFE are mutually incompatible.");
+ if (vanilla_part) die("TABLE and UNSAFE are mutually incompatible.");
}
else {
b_fd = geo_open(&geo,boot,O_RDONLY);