Made portability clarifications

This commit is contained in:
2006-11-15 17:10:12 +00:00
parent 2ea285318f
commit cf6b3a755c
8 changed files with 990 additions and 414 deletions

View File

@ -52,7 +52,7 @@ void burn_drive_free(struct burn_drive *d)
return;
/* ts A60822 : close open fds before forgetting them */
if (burn_drive_is_open(d))
sg_close_drive(d);
d->release(d);
free((void *) d->idata);
free((void *) d->mdata);
if(d->toc_entry != NULL)
@ -578,8 +578,10 @@ int burn_drive_scan_sync(struct burn_drive_info *drives[],
#endif /* 0 */
/* refresh the lib's drives */
sg_enumerate();
ata_enumerate();
/* ts A61115 : formerly sg_enumerate(); ata_enumerate(); */
scsi_enumerate_drives();
count = burn_drive_count();
if (count)
*drives =