"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/cd-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.

cd-read.c  (libcdio-2.0.0.tar.bz2):cd-read.c  (libcdio-2.1.0.tar.bz2)
/* /*
Copyright (C) 2003, 2004, 2005, 2006, 2008, 2011 Rocky Bernstein Copyright (C) 2003-2006, 2008, 2011, 2019 Rocky Bernstein
<rocky@gnu.org> <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.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* Program to debug read routines audio, auto, mode1, mode2 forms 1 & 2. */ /* Program to debug read routines audio, mode1, mode2 forms 1 & 2. */
#include "util.h" #include "util.h"
#include <cdio/mmc.h> #include <cdio/mmc.h>
#ifdef HAVE_SYS_STAT_H #ifdef HAVE_SYS_STAT_H
#include <sys/stat.h> #include <sys/stat.h>
#endif #endif
#ifdef HAVE_FCNTL_H #ifdef HAVE_FCNTL_H
#include <fcntl.h> #include <fcntl.h>
#endif #endif
skipping to change at line 245 skipping to change at line 245
/* Parse a options. */ /* Parse a options. */
static bool static bool
parse_options (int argc, char *argv[]) parse_options (int argc, char *argv[])
{ {
int opt; int opt;
int rc = EXIT_FAILURE; int rc = EXIT_FAILURE;
static const char helpText[] = static const char helpText[] =
"Usage: %s [OPTION...]\n" "Usage: %s [OPTION...]\n"
" -a, --access-mode=STRING Set CD control access mode\n" " -a, --access-mode=STRING Set CD control access mode\n"
" -m, --mode=MODE-TYPE set CD-ROM read mode (audio, auto, m1f1, m1f2,\n" " -m, --mode=MODE-TYPE set CD-ROM read mode (audio, m1f1, m1f2,\ n"
" m2mf1, m2f2)\n" " m2mf1, m2f2)\n"
" -d, --debug=INT Set debugging to LEVEL\n" " -d, --debug=INT Set debugging to LEVEL\n"
" -x, --hexdump Show output as a hex dump. The default is a\n" " -x, --hexdump Show output as a hex dump. The default is a\n"
" hex dump when output goes to stdout and n o\n" " hex dump when output goes to stdout and n o\n"
" hex dump when output is to a file.\n" " hex dump when output is to a file.\n"
" -j, --just-hex Don't display printable chars on hex\n" " -j, --just-hex Don't display printable chars on hex\n"
" dump. The default is print chars too.\n" " dump. The default is print chars too.\n"
" --no-header Don't display header and copyright (for\n " " --no-header Don't display header and copyright (for\n "
" regression testing)\n" " regression testing)\n"
" --no-hexdump Don't show output as a hex dump.\n" " --no-hexdump Don't show output as a hex dump.\n"
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

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