diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-05-23 12:37:09 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-05-23 12:37:09 -0300 |
commit | 054c20cd5b1d9491e3989cedcf3da5ebed0719cf (patch) | |
tree | fc71ddc94ada7af256250acc63fee538b3bccf2f /loslib.c | |
parent | 8e7149f496fa175c05c49e7303ff8ba54f3545c9 (diff) | |
download | lua-054c20cd5b1d9491e3989cedcf3da5ebed0719cf.tar.gz lua-054c20cd5b1d9491e3989cedcf3da5ebed0719cf.tar.bz2 lua-054c20cd5b1d9491e3989cedcf3da5ebed0719cf.zip |
spaces -> tabs in #defines
Diffstat (limited to 'loslib.c')
-rw-r--r-- | loslib.c | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: loslib.c,v 1.37 2011/11/29 17:15:42 roberto Exp roberto $ | 2 | ** $Id: loslib.c,v 1.38 2011/11/30 12:35:05 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 | */ |
@@ -26,11 +26,12 @@ | |||
26 | #if !defined(LUA_STRFTIMEOPTIONS) | 26 | #if !defined(LUA_STRFTIMEOPTIONS) |
27 | 27 | ||
28 | #if !defined(LUA_USE_POSIX) | 28 | #if !defined(LUA_USE_POSIX) |
29 | #define LUA_STRFTIMEOPTIONS { "aAbBcdHIjmMpSUwWxXyYz%", "" } | 29 | #define LUA_STRFTIMEOPTIONS { "aAbBcdHIjmMpSUwWxXyYz%", "" } |
30 | #else | 30 | #else |
31 | #define LUA_STRFTIMEOPTIONS { "aAbBcCdDeFgGhHIjmMnprRStTuUVwWxXyYzZ%", "", \ | 31 | #define LUA_STRFTIMEOPTIONS \ |
32 | "E", "cCxXyY", \ | 32 | { "aAbBcCdDeFgGhHIjmMnprRStTuUVwWxXyYzZ%", "" \ |
33 | "O", "deHImMSuUVwWy" } | 33 | "", "E", "cCxXyY", \ |
34 | "O", "deHImMSuUVwWy" } | ||
34 | #endif | 35 | #endif |
35 | 36 | ||
36 | #endif | 37 | #endif |
@@ -43,7 +44,7 @@ | |||
43 | */ | 44 | */ |
44 | #if defined(LUA_USE_MKSTEMP) | 45 | #if defined(LUA_USE_MKSTEMP) |
45 | #include <unistd.h> | 46 | #include <unistd.h> |
46 | #define LUA_TMPNAMBUFSIZE 32 | 47 | #define LUA_TMPNAMBUFSIZE 32 |
47 | #define lua_tmpnam(b,e) { \ | 48 | #define lua_tmpnam(b,e) { \ |
48 | strcpy(b, "/tmp/lua_XXXXXX"); \ | 49 | strcpy(b, "/tmp/lua_XXXXXX"); \ |
49 | e = mkstemp(b); \ | 50 | e = mkstemp(b); \ |
@@ -52,8 +53,8 @@ | |||
52 | 53 | ||
53 | #elif !defined(lua_tmpnam) | 54 | #elif !defined(lua_tmpnam) |
54 | 55 | ||
55 | #define LUA_TMPNAMBUFSIZE L_tmpnam | 56 | #define LUA_TMPNAMBUFSIZE L_tmpnam |
56 | #define lua_tmpnam(b,e) { e = (tmpnam(b) == NULL); } | 57 | #define lua_tmpnam(b,e) { e = (tmpnam(b) == NULL); } |
57 | 58 | ||
58 | #endif | 59 | #endif |
59 | 60 | ||