shithub: werc

Download patch

ref: 6404c0c1df514d182b36a0837672b55cdfb56c10
parent: a8c24bad690907883c2019c84d1e9c31ff21a8fb
author: uriel <[email protected]>
date: Sat Jun 28 00:03:11 EDT 2008

Add comment pointing out misterious branch

--- a/bin/controller.rc
+++ b/bin/controller.rc
@@ -105,7 +105,7 @@
     if not if ( test -f $body.html )
         cat $body.html | /bin/sed '0,/<[Bb][Oo][Dd][Yy][^>]*>/d; /<\/[Bb][Oo][Dd][Yy]>/,$d' 
     if not if (~ $body *.html && test -f $body )
-        cat $body | /bin/sed -i '0,/<body[^>]*>/d;/<\/body>/,$d' 
+        cat $body | /bin/sed -i '0,/<body[^>]*>/d;/<\/body>/,$d'  # This branch is never taken?
     if not if ( ~ $body */[bB]log/index */[bB]log//index && ~ $#blogDirs 0 )
         blogDirs = `{basename -d $body}
     if not if ( test -f pub/^$reqpath^.tpl )