r3601 - branches/2.0/varnish-cache/lib/libvcl

tfheen at projects.linpro.no tfheen at projects.linpro.no
Thu Feb 5 11:21:48 CET 2009


Author: tfheen
Date: 2009-02-05 11:21:48 +0100 (Thu, 05 Feb 2009)
New Revision: 3601

Modified:
   branches/2.0/varnish-cache/lib/libvcl/vcc_gen_fixed_token.tcl
Log:
Merge r3377: Constify vcl_tnames in .tcl script too

Change the .tcl script corresponding to r3364, fixes build failure



Modified: branches/2.0/varnish-cache/lib/libvcl/vcc_gen_fixed_token.tcl
===================================================================
--- branches/2.0/varnish-cache/lib/libvcl/vcc_gen_fixed_token.tcl	2009-02-05 10:16:46 UTC (rev 3600)
+++ branches/2.0/varnish-cache/lib/libvcl/vcc_gen_fixed_token.tcl	2009-02-05 10:21:48 UTC (rev 3601)
@@ -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