aboutsummaryrefslogtreecommitdiff
path: root/jim-load.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2010-09-10 15:22:26 +1000
committerSteve Bennett <steveb@workware.net.au>2010-10-15 11:02:52 +1000
commit82594fa49fcc6a10cd020dda214688fda215605e (patch)
tree881462a91cf38fc4007878d08b6f5dfa4c8ed953 /jim-load.c
parentec978d041463c9effdb17018f064df29592f8d40 (diff)
downloadjimtcl-82594fa49fcc6a10cd020dda214688fda215605e.zip
jimtcl-82594fa49fcc6a10cd020dda214688fda215605e.tar.gz
jimtcl-82594fa49fcc6a10cd020dda214688fda215605e.tar.bz2
Reduce excessive stack usage
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-load.c')
-rw-r--r--jim-load.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/jim-load.c b/jim-load.c
index 7ce1fe2..f853a5e 100644
--- a/jim-load.c
+++ b/jim-load.c
@@ -32,6 +32,7 @@ int Jim_LoadLibrary(Jim_Interp *interp, const char *pathName)
}
else {
FILE *fp;
+ /* REVISIT: Move off stack */
char buf[JIM_PATH_LEN];
const char *prefix;
int prefixlen;