From: Vince Darley Date: Sat, 3 Nov 2001 13:14:42 +0000 (+0000) Subject: writable mem X-Git-Tag: vfs-1-2~88 X-Git-Url: https://privyetmir.co.uk/gitweb.cgi?a=commitdiff_plain;h=d3d406a8584258f363ee1ff66453020a49007551;p=tclvfs writable mem --- 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"; /*