Репозитории 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-23.0-mdk-part.patch
Скачать
Скачать
diff -urN lilo-23.0/src/boot.c lilo-23.0-mdk-part/src/boot.c
--- lilo-23.0/src/boot.c 2010-06-29 00:45:41.000000000 +0300
+++ lilo-23.0-mdk-part/src/boot.c 2013-09-23 05:10:23.000000000 +0300
@@ -327,6 +327,7 @@
#endif
struct stat st;
char *pos;
+ char *vanilla_part = part;
int i, code;
int letter = 0;
int unsafe;
@@ -387,7 +388,7 @@
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);