From d3d406a8584258f363ee1ff66453020a49007551 Mon Sep 17 00:00:00 2001 From: Vince Darley Date: Sat, 3 Nov 2001 13:14:42 +0000 Subject: [PATCH] writable mem --- generic/vfs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/generic/vfs.c b/generic/vfs.c index 1d8b9a2..5e675fb 100644 --- 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"; /* -- 2.23.0