From 168a865e6054348795b3f88c0effce153541ae7a Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 16 Feb 1996 10:10:14 -0300 Subject: [PATCH] more appropriate error message for "date" --- iolib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iolib.c b/iolib.c index 38b6f318..2d805010 100644 --- a/iolib.c +++ b/iolib.c @@ -3,7 +3,7 @@ ** Input/output library to LUA */ -char *rcs_iolib="$Id: iolib.c,v 1.34 1996/02/09 19:02:30 roberto Exp roberto $"; +char *rcs_iolib="$Id: iolib.c,v 1.35 1996/02/09 19:35:23 roberto Exp roberto $"; #include #include @@ -520,7 +520,7 @@ static void io_date (void) if (strftime(b,sizeof(b),s,tm)) lua_pushstring(b); else - lua_error("`date' format too long"); + lua_error("invalid `date' format"); } /*