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@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/libvir-list
Attachment:
pgpM_fwyH9kbK.pgp
Description: PGP signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list