summaryrefslogtreecommitdiff
path: root/liolib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-10-02 13:43:29 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-10-02 13:43:29 -0300
commitb840a7518df607d2a1024c33dc2cc2022054d40a (patch)
tree9ea72df79cb3a5b4cf6f8fa76026949b96cc278e /liolib.c
parentf54cdb33a565aacd41fe00a172a3062a4a33118b (diff)
downloadlua-b840a7518df607d2a1024c33dc2cc2022054d40a.tar.gz
lua-b840a7518df607d2a1024c33dc2cc2022054d40a.tar.bz2
lua-b840a7518df607d2a1024c33dc2cc2022054d40a.zip
details
Diffstat (limited to 'liolib.c')
-rw-r--r--liolib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/liolib.c b/liolib.c
index 8c64980f..2a9f11b9 100644
--- a/liolib.c
+++ b/liolib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: liolib.c,v 1.121 2001/07/22 00:59:36 roberto Exp $ 2** $Id: liolib.c,v 1.122 2001/08/31 19:46:07 roberto Exp $
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*/
@@ -322,7 +322,7 @@ static int io_read (lua_State *L) {
322 success = 1; /* always success */ 322 success = 1; /* always success */
323 break; 323 break;
324 case l_c('w'): /* word */ 324 case l_c('w'): /* word */
325 lua_error(L, l_s("option `*w' is deprecated")); 325 lua_error(L, l_s("obsolete option `*w'"));
326 break; 326 break;
327 case l_c('u'): { /* read until */ 327 case l_c('u'): { /* read until */
328 size_t pl = lua_strlen(L, n) - 2; 328 size_t pl = lua_strlen(L, n) - 2;