[libvirt] [libvirt-designer][PATCH 1/2] cfg.mk: Update list of syntax-check exceptions
Christophe Fergeau
cfergeau at redhat.com
Fri Apr 19 11:04:22 UTC 2013
ACK
Christophe
On Fri, Apr 19, 2013 at 11:24:30AM +0200, Michal Privoznik wrote:
> The bindtextdomain syntax-check macro is doing some dumb
> checking: each file containing '\<main *(' must call
> bindtextdomain. Even if it's mentioned inside a comment block,
> which we do as of e71ad8e13e7.
> ---
>
> Or shall we drop bindtextdomain rule instead?
>
> cfg.mk | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/cfg.mk b/cfg.mk
> index 54f62d4..1e4b31d 100644
> --- a/cfg.mk
> +++ b/cfg.mk
> @@ -104,8 +104,8 @@ sc_copyright_format:
> prev_version_file = /dev/null
>
>
> -exclude_file_name_regexp--sc_bindtextdomain = ^(libvirt-designer/test)|(libvirt-designer/libvirt-designer-init-*)|(examples/virtxml.c)
> +exclude_file_name_regexp--sc_bindtextdomain = ^libvirt-designer/(test|libvirt-designer-main\.c)|^examples/virtxml\.c$$
>
> -exclude_file_name_regexp--sc_preprocessor_indentation = ^*/*.[ch]
> +exclude_file_name_regexp--sc_preprocessor_indentation = ^*/*.[ch]$$
>
> -exclude_file_name_regexp--sc_prohibit_strcmp = ^libvirt-designer/libvirt-designer-init-qemu.c
> +exclude_file_name_regexp--sc_prohibit_strcmp = ^libvirt-designer/libvirt-designer-init-qemu.c$$
> --
> 1.8.1.5
>
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130419/39a9a0c5/attachment-0001.sig>
More information about the libvir-list
mailing list