Re: [spice-common 3/5] codegen: Use "" rather than <> for cmdline includes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Christophe,

they were patches changing spice common includes to use <> instead of "", so I
would keep it.

Pavel

On Thu, 2016-06-23 at 12:57 +0200, Christophe Fergeau wrote:
> Includes specified on the command line are currently #included with <>
> rather than "". However, they are usually spice-common headers, so it
> makes more sense to include them using ""
> ---
>  spice_codegen.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/spice_codegen.py b/spice_codegen.py
> index 53c7be3..410acbd 100755
> --- a/spice_codegen.py
> +++ b/spice_codegen.py
> @@ -211,8 +211,8 @@ if options.print_error:
>  
>  if options.includes:
>      for i in options.includes:
> -        writer.header.writeln('#include <%s>' % i)
> -        writer.writeln('#include <%s>' % i)
> +        writer.header.writeln('#include "%s"' % i)
> +        writer.writeln('#include "%s"' % i)
>  
>  if options.generate_enums or options.generate_dissector:
>      write_enums(writer, options.generate_dissector)
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]