_cdio_generic.c: Initialize new scsi_tuple field. Removes SEGV in OSX and others.

configure.ac: Try sed -r and -E rather than rely on OS type.
This commit is contained in:
R. Bernstein
2012-04-29 10:17:56 -04:00
parent 37cca69f1d
commit df2b1f120b
2 changed files with 15 additions and 4 deletions

View File

@@ -144,6 +144,7 @@ cdio_generic_init (void *user_data, int open_flags)
p_env->init = true;
p_env->toc_init = false;
p_env->cdtext = NULL;
p_env->scsi_tuple = NULL;
p_env->b_cdtext_error = false;
p_env->i_joliet_level = 0; /* Assume no Joliet extensions initally */
return true;