Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/lua/dist/src Define LUA_STRFTIMEOPTIONS so that...



details:   https://anonhg.NetBSD.org/src/rev/f0e73273e8ed
branches:  trunk
changeset: 347662:f0e73273e8ed
user:      mbalmer <mbalmer%NetBSD.org@localhost>
date:      Sat Sep 10 09:29:13 2016 +0000

description:
Define LUA_STRFTIMEOPTIONS so that the conversion specifications of the Lua
os.date() function match the conversion specifications of the underlying
strftime() function.

diffstat:

 external/mit/lua/dist/src/luaconf.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r fe7f557a6a37 -r f0e73273e8ed external/mit/lua/dist/src/luaconf.h
--- a/external/mit/lua/dist/src/luaconf.h       Sat Sep 10 08:21:26 2016 +0000
+++ b/external/mit/lua/dist/src/luaconf.h       Sat Sep 10 09:29:13 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: luaconf.h,v 1.17 2016/09/08 02:21:31 salazar Exp $     */
+/*     $NetBSD: luaconf.h,v 1.18 2016/09/10 09:29:13 mbalmer Exp $     */
 
 /*
 ** Id: luaconf.h,v 1.255 2016/05/01 20:06:09 roberto Exp 
@@ -770,6 +770,8 @@
 
 #ifdef __NetBSD__
 
+#define LUA_STRFTIMEOPTIONS "aAbBcCdDeFgGhHIjklmMnprRsStTuUvVwWxXyYzZi%"
+
 /* Integer types */
 #undef LUA_INTEGER
 #undef LUA_INTEGER_FRMLEN



Home | Main Index | Thread Index | Old Index