diff options
Diffstat (limited to 'liolib.c')
-rw-r--r-- | liolib.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: liolib.c,v 2.131 2014/10/03 12:54:57 roberto Exp roberto $ | 2 | ** $Id: liolib.c,v 2.132 2014/10/15 14:27:40 roberto Exp roberto $ |
3 | ** Standard I/O (and system) library | 3 | ** Standard I/O (and system) library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -70,7 +70,7 @@ | |||
70 | /* ANSI definitions */ | 70 | /* ANSI definitions */ |
71 | #define l_popen(L,c,m) \ | 71 | #define l_popen(L,c,m) \ |
72 | ((void)((void)c, m), \ | 72 | ((void)((void)c, m), \ |
73 | luaL_error(L, LUA_QL("popen") " not supported"), \ | 73 | luaL_error(L, "'popen' not supported"), \ |
74 | (FILE*)0) | 74 | (FILE*)0) |
75 | #define l_pclose(L,file) ((void)L, (void)file, -1) | 75 | #define l_pclose(L,file) ((void)L, (void)file, -1) |
76 | 76 | ||
@@ -244,7 +244,7 @@ static void opencheck (lua_State *L, const char *fname, const char *mode) { | |||
244 | LStream *p = newfile(L); | 244 | LStream *p = newfile(L); |
245 | p->f = fopen(fname, mode); | 245 | p->f = fopen(fname, mode); |
246 | if (p->f == NULL) | 246 | if (p->f == NULL) |
247 | luaL_error(L, "cannot open file " LUA_QS " (%s)", fname, strerror(errno)); | 247 | luaL_error(L, "cannot open file '%s' (%s)", fname, strerror(errno)); |
248 | } | 248 | } |
249 | 249 | ||
250 | 250 | ||