Репозитории ALT
S: | 2.39.2-alt1 |
5.1: | 2.16.1-alt1 |
4.1: | 2.13-alt8 |
4.0: | 2.12r-alt6 |
3.0: | 2.12q-alt1 |
Группа :: Система/Основа
Пакет: util-linux
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: util-linux-2.13-alt-largefile.patch
Скачать
Скачать
--- util-linux-2.13/mount/lomount.c.fix 2008-03-24 13:24:24 +0300
+++ util-linux-2.13/mount/lomount.c 2008-03-24 13:25:09 +0300
@@ -625,8 +625,11 @@ set_loop(const char *device, const char
}
}
mode = (*options & SETLOOP_RDONLY) ? O_RDONLY : O_RDWR;
+#ifdef O_LARGEFILE
+ mode |= O_LARGEFILE;
+#endif
if ((ffd = open(file, mode)) < 0) {
if (!(*options & SETLOOP_RDONLY) && errno == EROFS)
ffd = open(file, mode = O_RDONLY);
if (ffd < 0) {