From 3c67d2595bedb5d951d8bd62a55f1e24aa128202 Mon Sep 17 00:00:00 2001 From: Waldemar Celes Date: Fri, 17 Mar 1995 17:27:11 -0300 Subject: error message buffer got a bigger size --- inout.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inout.c b/inout.c index b2a50449..ac89a1b7 100644 --- a/inout.c +++ b/inout.c @@ -5,7 +5,7 @@ ** Also provides some predefined lua functions. */ -char *rcs_inout="$Id: inout.c,v 2.15 1994/12/16 15:55:04 roberto Exp roberto $"; +char *rcs_inout="$Id: inout.c,v 2.16 1994/12/20 21:20:36 roberto Exp celes $"; #include #include @@ -71,8 +71,8 @@ char *lua_openfile (char *fn) fp = fopen (fn, "r"); if (fp == NULL) { - static char buff[32]; - sprintf(buff, "unable to open file %.10s", fn); + static char buff[255]; + sprintf(buff, "unable to open file %.230s", fn); return buff; } return lua_addfile (fn); -- cgit v1.2.3-55-g6feb