1
0
mirror of https://github.com/lua/lua.git synced 2025-01-14 05:43:00 +08:00

'printf' replaced by 'luai_writestring'

This commit is contained in:
Roberto Ierusalimschy 2010-12-03 15:20:50 -02:00
parent 350cc4bcb6
commit ac3afc7cd4

4
lua.c
View File

@ -1,5 +1,5 @@
/*
** $Id: lua.c,v 1.193 2010/10/18 16:06:33 roberto Exp roberto $
** $Id: lua.c,v 1.194 2010/10/25 19:01:37 roberto Exp roberto $
** Lua stand-alone interpreter
** See Copyright Notice in lua.h
*/
@ -185,7 +185,7 @@ static int docall (lua_State *L, int narg, int nres) {
static void print_version (void) {
printf("%s\n", LUA_COPYRIGHT);
luai_writestring(LUA_COPYRIGHT "\n", sizeof(LUA_COPYRIGHT) + 1);
}