Репозитории 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-7.1-noevent.patch
Скачать
Скачать
diff -up dvd+rw-tools-7.1/transport.hxx.debug dvd+rw-tools-7.1/transport.hxx
--- dvd+rw-tools-7.1/transport.hxx.debug 2012-03-07 10:55:07.167322839 +0100
+++ dvd+rw-tools-7.1/transport.hxx 2012-03-07 15:44:34.384202747 +0100
@@ -1795,9 +1795,12 @@ static int handle_events (Scsi_Command &
break;
case 5: ret |= 1<<5; break; // Multiple Initiators
case 6: // Device Busy
- if ((event[4]&0xF)==1 && // Timeout occured
- (event[5]&0x3)!=0)
- { poll(NULL,0,(descr&0xFFFF)*100+100);
+ if ((event[4]&0xF)==1) // Timeout occured
+ {
+ if ((event[5]&0x3)==0) // No Event
+ return 0; // Ready to accept any command
+
+ poll(NULL,0,(descr&0xFFFF)*100+100);
cmd[0] = 0; // TEST UNIT READY
cmd[5] = 0;
if ((err=cmd.transport()))