Mercurial > mplayer.hg
view help/help_check.sh @ 36288:63e8bfb208c6
Remove property wsWaitMap and function wsWindowMapWait().
There was a false check of the property (wsShowWindow instead of
wsWaitMap) in wsWindowCreate(), so wsWindowMapWait() was actually
never used on window creation.
The function seems pointless.
author | ib |
---|---|
date | Thu, 01 Aug 2013 17:20:16 +0000 |
parents | 4df5cb727be4 |
children | cb9975cda4bc |
line wrap: on
line source
#!/bin/sh # Check help message header files. CHECK=checkhelp trap "rm -f ${CHECK}.c ${CHECK}.o" EXIT CC=$1 shift for h in "$@"; do cat <<EOF > ${CHECK}.c #include <inttypes.h> #include <string.h> #include "config.h" #include "$h" void $CHECK () { EOF sed -n "s:^[ \t]*#define[ \t]\+\([0-9A-Za-z_]\+\)[ \t].*:strdup(\1);:p" "$h" >> ${CHECK}.c echo "}" >> ${CHECK}.c $CC -Werror -c -o ${CHECK}.o ${CHECK}.c || exit done