[Debburn-changes] r645 - in cdrkit/trunk: . libusal
Eduard Bloch
blade at alioth.debian.org
Wed Dec 27 19:47:30 CET 2006
Author: blade
Date: 2006-12-27 19:47:29 +0100 (Wed, 27 Dec 2006)
New Revision: 645
Modified:
cdrkit/trunk/Changelog
cdrkit/trunk/libusal/scsi-linux-sg.c
Log:
Reverted the attempt count change, 5 was a good number, avoid risks with such changes now
Modified: cdrkit/trunk/Changelog
===================================================================
--- cdrkit/trunk/Changelog 2006-12-27 18:44:40 UTC (rev 644)
+++ cdrkit/trunk/Changelog 2006-12-27 18:47:29 UTC (rev 645)
@@ -15,8 +15,6 @@
* get maximum DMA buffer size from sysfs on Linux, where possible
* enable BURN-Free by default where possible
* genisoimage documentation updates, mkisofs name changes
- * changed device access max. attempt count to 3, that is enough to inform
- the user that something is there and it is busy
[ Thomas Schmidt ]
* workaround for older libmagic API
Modified: cdrkit/trunk/libusal/scsi-linux-sg.c
===================================================================
--- cdrkit/trunk/libusal/scsi-linux-sg.c 2006-12-27 18:44:40 UTC (rev 644)
+++ cdrkit/trunk/libusal/scsi-linux-sg.c 2006-12-27 18:47:29 UTC (rev 645)
@@ -253,7 +253,7 @@
int i;
f = open(device, mode|O_EXCL);
/* try to reopen locked/busy devices up to five times */
- for (i = 0; (i < 3) && (f == -1 && errno == EBUSY); i++) {
+ for (i = 0; (i < 5) && (f == -1 && errno == EBUSY); i++) {
fprintf(stderr, "Error trying to open %s exclusively (%s)... %s\n",
device, strerror(errno),
(i<4)?"retrying in 1 second.":"giving up.");
More information about the Debburn-changes
mailing list