[PATCH] maint: fix spelling of Red Hat

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

 



* cfg.mk (sc_copyright_format): Add to rule.
* src/util/files.h: Fix offenders.
* src/util/files.c: Likewise.
---

Pushing under the trivial rule.  Noticed it because my upcoming edits to
files.c triggered my editor's copyright update rule.  The 'syntax-check'
addition ensures that no one else makes the mistake.

 cfg.mk           |    3 +++
 src/util/files.c |    4 ++--
 src/util/files.h |    2 +-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/cfg.mk b/cfg.mk
index f98c94b..d243862 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -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.
diff --git a/src/util/files.c b/src/util/files.c
index de4ae87..bef56b6 100644
--- a/src/util/files.c
+++ b/src/util/files.c
@@ -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
diff --git a/src/util/files.h b/src/util/files.h
index 5137fb3..8b681eb 100644
--- a/src/util/files.h
+++ b/src/util/files.h
@@ -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
-- 
1.7.4.4

--
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]