"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/driver/mmc_read.c" between
libcdio-2.0.0.tar.bz2 and libcdio-2.1.0.tar.bz2

About: GNU libcdio is a library for CD-ROM and CD image access.

mmc_read.c  (libcdio-2.0.0.tar.bz2):mmc_read.c  (libcdio-2.1.0.tar.bz2)
/* -*- C -*- /* -*- C -*-
Copyright (C) 2009 Thomas Schmitt <scdbackup@gmx.net> Copyright (C) 2009 Thomas Schmitt <scdbackup@gmx.net>
Copyright (C) 2010-2013, 2017 Rocky Bernstein <rocky@gnu.org> Copyright (C) 2010-2013, 2017, 2019 Rocky Bernstein <rocky@gnu.org>
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
skipping to change at line 444 skipping to change at line 444
strlen(ppsz_drives[0]))) { strlen(ppsz_drives[0]))) {
fprintf(stderr, fprintf(stderr,
"Got %s; should get back %s, the name we opened.\n", "Got %s; should get back %s, the name we opened.\n",
psz_source, ppsz_drives[0]); psz_source, ppsz_drives[0]);
exit(1); exit(1);
} }
i_ret = wait_for_drive(p_cdio, 30, b_verbose); i_ret = wait_for_drive(p_cdio, 30, b_verbose);
if (0 >= i_ret) { if (0 >= i_ret) {
fprintf(stderr, "Wait for drive error\n"); fprintf(stderr, "Wait for drive error\n");
exit(2); exit(SKIP_TEST);
} else { } else {
if (1 == i_ret) { if (1 == i_ret) {
i_status = get_disc_erasable(p_cdio, psz_source, b_verbose); i_status = get_disc_erasable(p_cdio, psz_source, b_verbose);
if (DRIVER_OP_SUCCESS != i_status) { if (DRIVER_OP_SUCCESS != i_status) {
printf("Got status %d back from get_disc_erasable(%s)\n", printf("Got status %d back from get_disc_erasable(%s)\n",
i_status, psz_source); i_status, psz_source);
} }
get_disctype(p_cdio, b_verbose); get_disctype(p_cdio, b_verbose);
if ( psz_have_mmc if ( psz_have_mmc
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)