aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2007-05-03 17:49:29 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2007-05-03 17:49:29 -0300
commite7fb0d8a6f10338fe62e869115dfe9f3a73e2552 (patch)
treea6e5f9741dd2f9b6452daebe011269604d0a7d34 /luaconf.h
parent4eb49163c662e7c1546754774acf75b893ea23df (diff)
downloadlua-e7fb0d8a6f10338fe62e869115dfe9f3a73e2552.tar.gz
lua-e7fb0d8a6f10338fe62e869115dfe9f3a73e2552.tar.bz2
lua-e7fb0d8a6f10338fe62e869115dfe9f3a73e2552.zip
'os.date' checks arguments before passing them to 'strftime'
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/luaconf.h b/luaconf.h
index d473d325..8e5479ab 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.86 2006/09/18 14:03:18 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.87 2007/02/07 17:46:20 roberto Exp roberto $
3** Configuration file for Lua 3** Configuration file for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -658,6 +658,18 @@ union luai_Cast { double l_d; long l_l; };
658 658
659 659
660/* 660/*
661@@ LUA_STRFTIMEOPTIONS is the list of valid conversion specifier
662@* characters for the 'strftime' function;
663@@ LUA_STRFTIMEPREFIX is the list of valid modifiers for
664@* that function.
665** CHANGE them if you want to use non-ansi options specific to your system.
666*/
667#define LUA_STRFTIMEOPTIONS "aAbBcdHIjmMpSUwWxXyYz%"
668#define LUA_STRFTIMEPREFIX ""
669
670
671
672/*
661@@ lua_popen spawns a new process connected to the current one through 673@@ lua_popen spawns a new process connected to the current one through
662@* the file streams. 674@* the file streams.
663** CHANGE it if you have a way to implement it in your system. 675** CHANGE it if you have a way to implement it in your system.