r3377 - trunk/varnish-cache/lib/libvcl
tfheen at projects.linpro.no
tfheen at projects.linpro.no
Mon Nov 10 12:55:15 CET 2008
Author: tfheen
Date: 2008-11-10 12:55:15 +0100 (Mon, 10 Nov 2008)
New Revision: 3377
Modified:
trunk/varnish-cache/lib/libvcl/vcc_gen_fixed_token.tcl
Log:
Constify vcl_tnames in .tcl script too
Change the .tcl script corresponding to r3364, fixes build failure
Modified: trunk/varnish-cache/lib/libvcl/vcc_gen_fixed_token.tcl
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_gen_fixed_token.tcl 2008-11-10 10:14:19 UTC (rev 3376)
+++ trunk/varnish-cache/lib/libvcl/vcc_gen_fixed_token.tcl 2008-11-10 11:55:15 UTC (rev 3377)
@@ -331,7 +331,7 @@
puts $fo "}"
puts $fo ""
-puts $fo "const char *vcl_tnames\[256\] = {"
+puts $fo "const char * const vcl_tnames\[256\] = {"
foreach i $token2 {
puts $fo "\t\[[lindex $i 0]\] = \"[lindex $i 0]\","
}
More information about the varnish-commit
mailing list