Репозитории ALT
S: | 7.1-alt3 |
D: | 7.1-alt0.1 |
5.1: | 7.1-alt1 |
4.1: | 7.0-alt1 |
4.0: | 7.0-alt1 |
3.0: | 5.21.4.10.8-alt2 |
Другие репозитории
Upstream: | 7.1 |
Группа :: Архивирование/Создание CD
Пакет: dvd+rw-tools
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: dvd+rw-tools-5.17.4.8.6-alt-setmntent.patch
Скачать
Скачать
--- dvd+rw-tools-5.17.4.8.6/transport.hxx.orig 2004-08-10 13:47:48 +0400
+++ dvd+rw-tools-5.17.4.8.6/transport.hxx 2004-08-10 13:48:15 +0400
@@ -210,7 +210,8 @@ public:
if (f==-1) f=fd;
if (fstat (f,&fsb) < 0) return -1;
- if ((fp=setmntent ("/proc/mounts","r"))==NULL) return -1;
+ if ((fp=setmntent ("/proc/mounts","r"))==NULL &&
+ (fp=setmntent ("/etc/mtab","r"))==NULL) return -1;
while ((mb=getmntent (fp))!=NULL)
{ if (stat (mb->mnt_fsname,&msb) < 0) continue; // corrupted line?