summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-12-19 18:48:21 +0100
committerDiego Biurrun <diego@biurrun.de>2012-12-21 00:18:34 +0100
commit511cf612ac979f536fd65e14603a87ca5ad435f3 (patch)
tree44bef1bf9a062368bf4ab89485279549af8bda90 /tools
parent6906b19346ae8a330bfaa1c16ce535be10789723 (diff)
miscellaneous typo fixes
Diffstat (limited to 'tools')
-rwxr-xr-xtools/patcheck4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/patcheck b/tools/patcheck
index 78ca8246f7..d22cf3c5aa 100755
--- a/tools/patcheck
+++ b/tools/patcheck
@@ -19,7 +19,7 @@ echo This tool is intended to help a human check/review patches it is very far f
echo being free of false positives and negatives, its output are just hints of what
echo may or may not be bad. When you use it and it misses something or detects
echo something wrong, fix it and send a patch to the libav-devel mailing list.
-echo License:GPL Autor: Michael Niedermayer
+echo License:GPL Author: Michael Niedermayer
ERE_PRITYP='(unsigned *|)(char|short|long|int|long *int|short *int|void|float|double|(u|)int(8|16|32|64)_t)'
ERE_TYPES='(const|static|av_cold|inline| *)*('$ERE_PRITYP'|[a-zA-Z][a-zA-Z0-9_]*)[* ]{1,}[a-zA-Z][a-zA-Z0-9_]*'
@@ -158,7 +158,7 @@ cat $* | tr '\n' '@' | $EGREP --color=always -o '[^a-zA-Z0-9_]([a-zA-Z0-9_]*) *=
cat $TMP | tr '@' '\n'
-# doesnt work
+# does not work
#cat $* | tr '\n' '@' | $EGREP -o '[^a-zA-Z_0-9]([a-zA-Z][a-zA-Z_0-9]*) *=[^=].*\1' | $EGREP -o '[^a-zA-Z_0-9]([a-zA-Z][a-zA-Z_0-9]*) *=[^=].*\1 *=[^=]' >$TMP && printf "\nPossibly written 2x before read\n"
#cat $TMP | tr '@' '\n'