projects
/
tclvfs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da7de74
)
writable mem
author
Vince Darley
<vincentdarley@sourceforge.net>
Sat, 3 Nov 2001 13:14:42 +0000
(13:14 +0000)
committer
Vince Darley
<vincentdarley@sourceforge.net>
Sat, 3 Nov 2001 13:14:42 +0000
(13:14 +0000)
generic/vfs.c
patch
|
blob
|
history
diff --git
a/generic/vfs.c
b/generic/vfs.c
index 1d8b9a2c7b8620e86e9eb217cb2b14501b7dd8a1..5e675fb8b4723713636f6208aa495a7c528e0a78 100644
(file)
--- a/
generic/vfs.c
+++ b/
generic/vfs.c
@@
-184,11
+184,12
@@
static Tcl_Obj* VfsCommand(Tcl_Interp* interp, CONST char* cmd,
#endif
/*
- * This cannot be 'const' because Tcl wants to trample
+ * This must be declared like this so it is placed in
+ * writable memory, because Tcl wants to trample
* over it when it tries to parse things. In the future
* we won't rely upon Tcl to do this for us.
*/
-static char
* mountVar
= "vfs::mount";
+static char
mountVar[]
= "vfs::mount";
\f
/*