php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /var/www/html/sub/images/sym/root/usr/share/doc/subversion-1.6.11/tools/dev/ |
files >> //var/www/html/sub/images/sym/root/usr/share/doc/subversion-1.6.11/tools/dev/min-includes.sh |
#!/bin/sh # # Attempt to figure out the minimum set of includes for our header files. # # ### this is incomplete. it merely lists the header files in order from # ### "no dependencies on other svn headers" to the larger header files # ### which have dependencies. manually working through the headers in # ### this order will minimize includes. # # Each header file is test-compiled to ensure that it has enough headers. # Of course, this could be false-positive because another header that # has been included has further included something to enable compilation # of the header in question. More sophisticated testing (e.g. filtering # includes out of the included header) would be necessary for detection. # files="*.h private/*.h" deps="deps.$$" INCLUDES="-I. -I.. -I/usr/include/apr-1 -I/usr/include/apache2" rm -f "$deps" for f in $files ; do sed -n "s%#include \"\(svn_[a-z0-9_]*\.h\)\".*%$f \1%p" $f | fgrep -v svn_private_config.h >> "$deps" done function process_file () { echo "Processing $header" echo "#include \"$header\"" > "$deps".c gcc -o /dev/null -S $INCLUDES "$deps".c ### monkey the includes and recompile to find the minimal set } while test -s "$deps" ; do #wc -l $deps for header in $files ; do if grep -q "^$header" "$deps" ; then continue fi process_file fgrep -v "$header" "$deps" > "$deps".new mv "$deps".new "$deps" files="`echo $files | sed s%$header%%`" break done done for header in $files ; do process_file doney~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`