Writable strings must be declared 'char foo[]=...', not 'char *foo=...'
This commit is contained in:
parent
cc6a88371d
commit
238e0e0151
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25942
1 changed files with 11 additions and 2 deletions
|
@ -1,5 +1,14 @@
|
|||
--- ../../generic/tixInit.c~ Thu Feb 11 18:11:44 1999
|
||||
+++ ../../generic/tixInit.c Sun Dec 5 06:46:59 1999
|
||||
--- ../../generic/tixInit.c.orig Thu Feb 11 18:11:44 1999
|
||||
+++ ../../generic/tixInit.c Thu Feb 17 19:46:36 2000
|
||||
@@ -499,7 +499,7 @@
|
||||
*----------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
-static char *initScript =
|
||||
+static char initScript[] =
|
||||
"if [catch {file join a a}] {\n\
|
||||
proc tixFileJoin {args} {\n\
|
||||
set p [join $args /]\n\
|
||||
@@ -537,6 +537,7 @@
|
||||
}\n\
|
||||
set instDir [file dirname [info library]]\n\
|
||||
|
|
Loading…
Reference in a new issue