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

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

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]