summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-01 14:26:22 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-01 14:26:22 -0500
commit0d83b30e25d68147ab53c760c386514140ac0751 (patch)
tree5ebb57699652bb3dc55c03977f9c19c26b4ff665
parent01f98d28caa9a8e0f45efc25c0a50ad75b5678f0 (diff)
downloaddeheader-0d83b30e25d68147ab53c760c386514140ac0751.tar.gz
deheader-0d83b30e25d68147ab53c760c386514140ac0751.tar.bz2
deheader-0d83b30e25d68147ab53c760c386514140ac0751.tar.xz
deheader-0d83b30e25d68147ab53c760c386514140ac0751.zip
Typo fixes.
-rwxr-xr-xdeheader8
1 files changed, 5 insertions, 3 deletions
diff --git a/deheader b/deheader
index 43a27a3..b73eaf1 100755
--- a/deheader
+++ b/deheader
@@ -13,7 +13,7 @@ on which #includes can be omitted from them -- the test, for each foo.c
or foo.cc or foo.cpp, is simply whether 'rm foo.o; make foo.o' returns a
zero status. Optionally, with the -r option, the unneeded headers are removed.
-If a sourcefile argument is a directory, the report is generates on all source
+If a sourcefile argument is a directory, the report is generated on all source
files beneath it. Subdirectories beginning with a dot are ignored. If no
arguments are given, the program runs as if the name of the current directory
had been passed to it.
@@ -59,7 +59,7 @@ class Baton:
return
def c_source(filename):
- "Predicate: return true idf the filename appears to be C or C++ source."
+ "Predicate: return true if the filename appears to be C or C++ source."
return filename.endswith(".c") or filename.endswith(".cpp")
class InclusionMap:
@@ -127,7 +127,7 @@ class SaveForModification:
"Disable reversion."
os.remove(self.original)
def __del__(self):
- "Revert modifications on the file at the end of this onject's lifetime."
+ "Revert modifications on the file at the end of this object's lifetime."
if os.path.exists(self.original):
try:
os.remove(self.filename)
@@ -238,3 +238,5 @@ if __name__ == "__main__":
inclusion_map = InclusionMap(arguments, ignore, verbose)
for sourcefile in inclusion_map.c_to_h:
deheader(sourcefile, inclusion_map.c_to_h[sourcefile], remove, verbose)
+
+# End