Add ability to retrieve SCSI tuple for a name and/or fake one up. This
helps programs that want to be cd-record compatible. In particular to parameters were added to cdio_get_arg, "scsi-tuple", and "scsi-tuple-linux". Code from Thomas Schmitt.
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
$Id: _cdio_generic.c,v 1.27 2008/04/22 15:29:11 karl Exp $
|
||||
|
||||
Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009
|
||||
Rocky Bernstein <rocky@gnu.org>
|
||||
|
||||
@@ -105,6 +103,9 @@ cdio_generic_free (void *p_user_data)
|
||||
if (p_env->fd >= 0)
|
||||
close (p_env->fd);
|
||||
|
||||
if (p_env->scsi_tuple != NULL)
|
||||
free (p_env->scsi_tuple);
|
||||
|
||||
free (p_env);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user