search for: option_argument

Displaying 3 results from an estimated 3 matches for "option_argument".

Did you mean: optional_argument
2012 Apr 17
1
[PATCH] Remove local_strtoull, windows has equivalent function _strtoui64
...te a specialized one */ -static FLAC__int64 local__strtoll(const char *src, char **endptr); -#endif - /* * share__getopt format struct; note that for long options with no @@ -683,13 +679,8 @@ int parse_option(int short_option, const char *long_option, const char *option_a FLAC__ASSERT(0 != option_argument); { char *end; -#ifdef _MSC_VER FLAC__int64 i; - i = local__strtoll(option_argument, &end); -#else - long long i; i = strtoll(option_argument, &end, 10); -#endif if(0 == strlen(option_argument) || *end) return usage_error("ERROR: --%s must be a numbe...
2017 Apr 14
1
error message for flac --sign
...essage mentions "uint32_t". - Michael diff --git a/src/flac/main.c b/src/flac/main.c index 4e7361b3..c6d9b1e3 100644 --- a/src/flac/main.c +++ b/src/flac/main.c @@ -817,7 +817,7 @@ int parse_option(int short_option, const char *long_option, const char *option_a else if(0 == strncmp(option_argument, "unsigned", strlen(option_argument))) option_values.format_is_unsigned_samples = true; else - return usage_error("ERROR: argument to --sign must be \"signed\" or \"uint32_t\"\n"); + return usage_error("ERROR: argument to --sign must be \&...
2005 May 25
1
[PATCH] Fix use of uninitialized variable
...:23:34.000000000 +0200 +++ src/metaflac/options.c 2005-05-25 16:23:42.000000000 +0200 @@ -555,13 +555,14 @@ FLAC__bool parse_option(int option_index FLAC__ASSERT(0 != violation); fprintf(stderr, "ERROR (--%s): malformed seekpoint specification \"%s\",\n %s\n", opt, option_argument, violation); ok = false; + } else { + op = find_shorthand_operation(options, OP__ADD_SEEKPOINT); + if(0 == op) + op = append_shorthand_operation(options, OP__ADD_SEEKPOINT); + local_strcat(&(op->argument.add_seekpoint.specification), spec); + local_strcat(&(op->argumen...