[Debburn-changes] r781 - cdrkit/trunk/icedax
harald-hoyer-guest at alioth.debian.org
harald-hoyer-guest at alioth.debian.org
Thu Sep 27 16:14:44 UTC 2007
Author: harald-hoyer-guest
Date: 2007-09-27 16:14:44 +0000 (Thu, 27 Sep 2007)
New Revision: 781
Modified:
cdrkit/trunk/icedax/interface.c
Log:
fix "icedax --devices segfault" (debian bug #443432)
Modified: cdrkit/trunk/icedax/interface.c
===================================================================
--- cdrkit/trunk/icedax/interface.c 2007-09-19 21:04:32 UTC (rev 780)
+++ cdrkit/trunk/icedax/interface.c 2007-09-27 16:14:44 UTC (rev 781)
@@ -611,12 +611,6 @@
usal_help(stderr);
exit(NO_ERROR);
}
-
- if (global.scandevs) {
- list_devices(usalp, stdout, 0);
- exit(0);
- }
-
/* device name, debug, verboseopen */
usalp = usal_open(pdev_name, errstr, sizeof(errstr), 0, 0);
@@ -661,6 +655,11 @@
dontneedgroup();
dontneedroot();
+ if (global.scandevs) {
+ list_devices(usalp, stdout, 0);
+ exit(0);
+ }
+
if (global.scanbus) {
select_target(usalp, stdout);
exit(0);
More information about the Debburn-changes
mailing list