search for: compat_1_24_1

Displaying 5 results from an estimated 5 matches for "compat_1_24_1".

2014 Mar 20
5
[PATCH 1/3] builder/virt-index-validate: try to cleanup in any occasion
...tf (stderr, _("%s: %s: error reading input file: %m\n"), + if (ret != 0) { + parse_context_free (&context); + fprintf (stderr, _("%s: '%s' could not be validated, see errors above\n"), program_name, input); exit (EXIT_FAILURE); } if (compat_1_24_1 && context.seen_comments) { + parse_context_free (&context); fprintf (stderr, _("%s: %s contains comments which will not work with virt-builder 1.24.1\n"), program_name, input); exit (EXIT_FAILURE); @@ -134,6 +138,7 @@ main (int argc, char *argv[])...
2014 Mar 20
2
Re: [PATCH 1/3] builder/virt-index-validate: try to cleanup in any occasion
...ee (&context); > > + fprintf (stderr, _("%s: '%s' could not be validated, see errors > > above\n"),> > > program_name, input); > > > > exit (EXIT_FAILURE); > > > > } > > > > if (compat_1_24_1 && context.seen_comments) { > > > > + parse_context_free (&context); > > > > fprintf (stderr, _("%s: %s contains comments which will not > > work with virt-builder 1.24.1\n"),> > > program_name, input);...
2014 Mar 19
7
[PATCH 1/3] builder: make the C index parser reentrant
.../builder/index-validate.c @@ -33,7 +33,7 @@ #include "index-struct.h" #include "index-parse.h" -extern FILE *yyin; +extern int do_parse (struct parse_context *context, FILE *in); static void usage (int exit_status) @@ -60,11 +60,15 @@ main (int argc, char *argv[]) int compat_1_24_1 = 0; const char *input; struct section *sections; + struct parse_context context; + FILE *in; setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, LOCALEBASEDIR); textdomain (PACKAGE); + parse_context_init (&context); + for (;;) { c = getopt_long (argc, argv,...
2015 Feb 14
2
[PATCH 0/2] Change guestfs__*
libguestfs has used double and triple underscores in identifiers. These aren't valid for global names in C++. (http://stackoverflow.com/a/228797) These large but completely mechanical patches change the illegal identifiers to legal ones. Rich.
2017 Apr 04
1
[PATCH] Use Unicode single quotes ‘’ in place of short single quoted strings throughout.
...(int argc, char *argv[]) if (ret != 0) { parse_context_free (&context); error (EXIT_FAILURE, 0, - _("'%s' could not be validated, see errors above"), input); + _("‘%s’ could not be validated, see errors above"), input); } if (compat_1_24_1 && context.seen_comments) { @@ -152,7 +152,7 @@ main (int argc, char *argv[]) strchr (fields->key, ']')) { parse_context_free (&context); error (EXIT_FAILURE, 0, - _("%s: section [%s], field '%s' has invalid char...