lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


The addition of setvbuf to liolib.c is welcome, however can we
have an extra parameter to specifiy the buffer size?

liolib.c 421
-  return pushresult(L, setvbuf(f, NULL, mode[op], 0) == 0, NULL);

+  return pushresult(L, setvbuf(f, NULL, mode[op], 
+  luaL_optinteger(L,3,0)) == 0, NULL);

DB