diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-01-26 14:30:02 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-01-26 14:30:02 -0200 |
| commit | c4ea0c3b29252bcafeadf2f69532bdb67ab20bb9 (patch) | |
| tree | 06ed5143f5724be72981ad6303d24c7f09e1cb46 /loslib.c | |
| parent | 7106c491dddbfc7b9986c3c91214acd56b066d7f (diff) | |
| download | lua-c4ea0c3b29252bcafeadf2f69532bdb67ab20bb9.tar.gz lua-c4ea0c3b29252bcafeadf2f69532bdb67ab20bb9.tar.bz2 lua-c4ea0c3b29252bcafeadf2f69532bdb67ab20bb9.zip | |
detail (cleaning trailing spaces)
Diffstat (limited to '')
| -rw-r--r-- | loslib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: loslib.c,v 1.31 2010/07/02 12:01:53 roberto Exp roberto $ | 2 | ** $Id: loslib.c,v 1.32 2010/10/05 12:18:03 roberto Exp roberto $ |
| 3 | ** Standard Operating System library | 3 | ** Standard Operating System library |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -182,7 +182,7 @@ static const char *checkoption (lua_State *L, const char *conv, char *buff) { | |||
| 182 | return conv; /* to avoid warnings */ | 182 | return conv; /* to avoid warnings */ |
| 183 | } | 183 | } |
| 184 | 184 | ||
| 185 | 185 | ||
| 186 | static int os_date (lua_State *L) { | 186 | static int os_date (lua_State *L) { |
| 187 | const char *s = luaL_optstring(L, 1, "%c"); | 187 | const char *s = luaL_optstring(L, 1, "%c"); |
| 188 | time_t t = luaL_opt(L, (time_t)luaL_checknumber, 2, time(NULL)); | 188 | time_t t = luaL_opt(L, (time_t)luaL_checknumber, 2, time(NULL)); |
