diff options
-rw-r--r-- | inout.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -5,7 +5,7 @@ | |||
5 | ** Also provides some predefined lua functions. | 5 | ** Also provides some predefined lua functions. |
6 | */ | 6 | */ |
7 | 7 | ||
8 | char *rcs_inout="$Id: inout.c,v 2.15 1994/12/16 15:55:04 roberto Exp roberto $"; | 8 | char *rcs_inout="$Id: inout.c,v 2.16 1994/12/20 21:20:36 roberto Exp celes $"; |
9 | 9 | ||
10 | #include <stdio.h> | 10 | #include <stdio.h> |
11 | #include <stdlib.h> | 11 | #include <stdlib.h> |
@@ -71,8 +71,8 @@ char *lua_openfile (char *fn) | |||
71 | fp = fopen (fn, "r"); | 71 | fp = fopen (fn, "r"); |
72 | if (fp == NULL) | 72 | if (fp == NULL) |
73 | { | 73 | { |
74 | static char buff[32]; | 74 | static char buff[255]; |
75 | sprintf(buff, "unable to open file %.10s", fn); | 75 | sprintf(buff, "unable to open file %.230s", fn); |
76 | return buff; | 76 | return buff; |
77 | } | 77 | } |
78 | return lua_addfile (fn); | 78 | return lua_addfile (fn); |