diff options
author | Daniel Verkamp <daniel@drv.nu> | 2010-03-15 23:32:20 +0000 |
---|---|---|
committer | Daniel Verkamp <daniel@drv.nu> | 2010-03-15 23:32:20 +0000 |
commit | 4a0cf686f8f29d1b68213376d22835e3d590fd72 (patch) | |
tree | 5de457bbb1f57724c8291781ff8523c055e14d05 | |
parent | 972ffe6220ac9100fee4140fedb27e24679425de (diff) | |
download | ffmpeg-4a0cf686f8f29d1b68213376d22835e3d590fd72.tar.gz |
patcheck: Escape parentheses in grep calls
Originally committed as revision 22563 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | tools/patcheck | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/patcheck b/tools/patcheck index 0e2836d4bf..a6923c4c36 100755 --- a/tools/patcheck +++ b/tools/patcheck @@ -72,10 +72,10 @@ hiegrep '(:\+|,|;)( *|static|\*)*'"$ERE_PRITYP"' *(src|source|input|in)([0-9A-Z_ hiegrep ' *static *'"$ERE_FUNCS"'[^)]*\);' 'static prototype, maybe you should reorder your functions' $* hiegrep2 '\.long_name *=' 'NULL_IF_CONFIG_SMAL' 'missing NULL_IF_CONFIG_SMAL' $* -hiegrep2 '\.pix_fmts *= *(' 'const' 'missing const for pix_fmts array' $* -hiegrep2 '\.sample_fmts *= *(' 'const' 'missing const for sample_fmts array' $* -hiegrep2 '\.supported_framerates *= *(' 'const' 'missing const for supported_framerates array' $* -hiegrep2 '\.channel_layouts *= *(' 'const' 'missing const for channel_layouts array' $* +hiegrep2 '\.pix_fmts *= *\(' 'const' 'missing const for pix_fmts array' $* +hiegrep2 '\.sample_fmts *= *\(' 'const' 'missing const for sample_fmts array' $* +hiegrep2 '\.supported_framerates *= *\(' 'const' 'missing const for supported_framerates array' $* +hiegrep2 '\.channel_layouts *= *\(' 'const' 'missing const for channel_layouts array' $* #egrep $OPT '^\+.*const ' $*| grep -v 'static'> $TMP && printf '\nnon static const\n' #cat $TMP |