From 84b99d25ad8c2c669a9cfef13784ceb7b0632fe0 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 13 Dec 1994 13:55:41 -0200 Subject: debug message goes to stderr --- iolib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iolib.c b/iolib.c index 2cfb8af7..13f9a31f 100644 --- a/iolib.c +++ b/iolib.c @@ -3,7 +3,7 @@ ** Input/output library to LUA */ -char *rcs_iolib="$Id: iolib.c,v 1.15 1994/11/13 14:54:18 roberto Exp roberto $"; +char *rcs_iolib="$Id: iolib.c,v 1.16 1994/11/16 17:38:08 roberto Stab roberto $"; #include #include @@ -585,7 +585,7 @@ static void io_debug (void) while (1) { char buffer[250]; - printf("lua_debug> "); + fprintf(stderr, "lua_debug> "); if (gets(buffer) == 0) return; if (strcmp(buffer, "cont") == 0) return; lua_dostring(buffer); -- cgit v1.2.3-55-g6feb