From dea6b6da9422f34ad91c8f6ad9ad3ed650e95713 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 7 May 2002 14:36:56 -0300 Subject: new function `lua_vpushstr' to replace uses of `sprintf' --- lstate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lstate.c') diff --git a/lstate.c b/lstate.c index bb568aa0..372dcc17 100644 --- a/lstate.c +++ b/lstate.c @@ -1,5 +1,5 @@ /* -** $Id: lstate.c,v 1.91 2002/04/23 15:04:39 roberto Exp roberto $ +** $Id: lstate.c,v 1.92 2002/05/01 20:40:42 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -30,7 +30,7 @@ static void close_state (lua_State *L); ** call `lua_setpanicf' */ static int default_panic (lua_State *L) { - fprintf(stderr, "unable to recover; exiting\n"); + fputs("unable to recover; exiting\n", stderr); return 0; } -- cgit v1.2.3-55-g6feb