maint: fix spelling of Red Hat

* cfg.mk (sc_copyright_format): Add to rule.
* src/util/files.h: Fix offenders.
* src/util/files.c: Likewise.
This commit is contained in:
Eric Blake 2011-07-19 12:17:22 -06:00
parent 79591d4fbf
commit f81f63cd04
3 changed files with 6 additions and 3 deletions

3
cfg.mk
View File

@ -584,6 +584,9 @@ sc_copyright_format:
@prohibit='Copyright [^(].*Red 'Hat \
halt='consistently use (C) in Red Hat copyright' \
$(_sc_search_regexp)
@prohibit='\<Red''Hat\>' \
halt='spell Red Hat as two words' \
$(_sc_search_regexp)
# Some functions/macros produce messages intended solely for developers
# and maintainers. Do not mark them for translation.

View File

@ -1,9 +1,9 @@
/*
* memory.c: safer file handling
* files.c: safer file handling
*
* Copyright (C) 2010-2011 Red Hat, Inc.
* Copyright (C) 2010 IBM Corporation
* Copyright (C) 2010 Stefan Berger
* Copyright (C) 2010 RedHat, Inc.
* Copyright (C) 2010 Eric Blake
*
* This library is free software; you can redistribute it and/or

View File

@ -1,7 +1,7 @@
/*
* files.h: safer file handling
*
* Copyright (C) 2010-2011 RedHat, Inc.
* Copyright (C) 2010-2011 Red Hat, Inc.
* Copyright (C) 2010 IBM Corporation
* Copyright (C) 2010 Stefan Berger
* Copyright (C) 2010 Eric Blake