[libvirt] [PATCH] Change file names in comments to match the files they are in

Eric Blake eblake at redhat.com
Fri Mar 7 15:51:33 UTC 2014


On 03/07/2014 06:45 AM, Ján Tomko wrote:
> Some of these are leftovers from renaming the files, others
> are just typos.
> 
> Also introduce an ugly awk script to enforce this.
> ---
>  cfg.mk                                  | 25 +++++++++++++++++++++++++

> +++ b/cfg.mk
> @@ -863,6 +863,31 @@ sc_prohibit_atoi:
>  	halt='Use virStrToLong* instead of atoi, atol, atof, atoq, atoll' \
>  	  $(_sc_search_regexp)
>  
> +# Don't
> +sc_prohibit_wrong_filename_in_comment:
> +	@fail=0;                                                                \
> +		awk 'BEGIN {                                                        \
> +			fail=0;                                                         \

Looks like a lot of indentation.  You could collapse it to 2- or 4-space
indents, so you aren't having such long lines everywhere (you need the
initial TAB indent to keep make happy, but that doesn't mean everything
else needs that much).

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140307/f37b1c3d/attachment-0001.sig>


More information about the libvir-list mailing list